May 14, 2008

Win Api Function - know someone ?

Free Web Hosting, No Ads > CONTRIBUTE > Computers > Programming Languages > Assembler and Delphi

free web hosting

Win Api Function - know someone ?

palladin
I need API or Assembler function (read, fast function) to get Hexadecimal numer of Windows Char, somthing like this:

function GetHexadecimal( s: char ): string;

Know someone this kind function ?!? Need urgent cool.gif


--------------------

Practice is when evrything is work but no one know why.
Theory is when work nothing but evry one know why.
Programmers join Practice with Theory - nothing work and no one know why cool.gif

Reply

DeveloperX
QUOTE
I need API or Assembler function (read, fast function) to get Hexadecimal numer of Windows Char, somthing like this:

function GetHexadecimal( s: char ): string;

Know someone this kind function ?!? Need urgent


I wrote own user function for this problem!
I called it GetHexadecimal for you.
It calling specs is GetHexadecimal( s ), where s is some windows char.
It returns hexadecimal value in string GetHexadecimal( s ): string.

function GetHexadecimal( s: char ): string;
begin
//this function returns a Hexadecimal numer of Windows Char.
//autor Tagiltsev Yuriy
//date of creation: 06/07/2006
result:=inttohex(ord(s));
end;

Please use this function in your programs in function GetHexadecimal( s: char ): string; format.
Actually I know many convertion functions like this!
Or I can write any function more or less that this function GetHexadecimal( s: char )!
And of course CHECK this function and write me about BUGS!!! Post me bugs report...

 

 

 


Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Similar Topics

Keywords : win, api, function

  1. Endif function?
    (6)
  2. Php - Forms, Date And Include
    Working with POST and GET and also the Date() function (0)
    /--------PHP FORMS, DATE AND INCLUDE TUTORIAL BY FLASHY--------\ Hi and welcome to my
    tutorial. I will show you how to make simple PHP forms with the POST and GET statements. I will
    also show show you the Date() function too, aswell as the include() function. OK, so first you need
    a good understanding of HTML, and you need to create your form using that. So lets start off with
    the HTML form. 1. Create a page called form.html. 2. Insert your standard tags like: CODE
    <html> <head> <title>Working with php forms.</title> </he....
  3. User Permission Function [php]
    Determining User Permissions (3)
    There have been several recent request for methods to restrict access to various pages on a web-site
    based on User Permissions in sites that have a Login System in place. Here is some code showing one
    method to restrict access by providing a sub-set of your site's links based on the User's
    permissions. In this demonstration, I have defined a string for each 'level of user'
    determining which set(s) of links they can view on your site. Normal MySql procedure would be to
    read the User's permission level from a record in the database. For the purpose of ....
  4. Help: Disable All Buttons Inside A Div Element
    How do you write a function to disable all buttons given a div id (8)
    I need help to write a function to disable all buttons iside a div ID. if possible the function will
    disable all buttons even the ones inside child divs belonging to the main div.....
  5. Inkscape, A Open Source Vector App That Support Lot Function.
    An Open Source vector graphics editor, with capabilities similar to Il (0)
    It is common now for using graphics design tools like Adobe Creative Suite, Canvas, CorelDraw etc.
    But it will be high cost. Here has a free open source tool that do most of the work without cost.
    It's called Inkscape. You can work with it like other common apps such as align, layer, export
    to gimp with svg and even more. Screen Shot : URL : www.inkscape.org Sample:
    www.openclipart.org Some Tutorial : blip.tv/file/316576 ....
  6. Arrays Outside A Function
    Need to have arrays available to all functions. (3)
    I've got a bunch of arrays that i want to use for more then 1 function. when i declear the
    arrays outside a function i cant use it in a function. This code was originally written in
    javascript by another person but since I plan to use it and extend it with php I had to change it
    from javascript to php code. In the javascript code the arrays were decleared outside the functions
    with 'var arrayname' I read somewhere that declearing javascript variables with
    'var' gives it global access. Any ideas on how I can go about declearing 1 set of these
    arrays t....
  7. Problem With Where Clause And Max Function
    Problem with where clause and max function (2)
    i have a column in a table which is varchar format but contains timedate type data eg. '24/7/07
    05:32 PM'. I'm trying to run a query which uses a where clause to only return the rows where
    this column is equal to the most recent date. I've tried using the MAX() function which returns
    a valid result but not the most recent date. ....
  8. How To Check If Fsockopen Function Is Enabled?
    (2)
    Hi, I have VPS (virtual private server) and I have access to php.ini file. Is there any script that
    will show that fsockopen function is enabled or where do I have to enable it? Searched google and
    here and couldn't find anything. Thanks! ....
  9. Php Explode Function Help
    (4)
    I am having trouble creating a script, all i want to achieve is to: 1. Select the variable from my
    mysql database, which is in a format of : id|id|id|id| and so on... 2. Split them into separate
    variables by using : $songexploded = explode("|",$ttyo ); 3. Then this is the bit I'm
    stuck on trying to create a while loop from the $songexploded variables. So(this might not be
    correct but you should get the idea).. CODE $x=1; while ($songexploded
    ==$result) echo $songexploded[$x].'<br>'; }....
  10. The Best Zip Function
    (1)
    hi my 6th code is very useful, you can zip your file by this: CODE <? class dZip{     var
    $filename;     var $overwrite;          var $zipSignature =
    "\x50\x4b\x03\x04"; // local file header signature     var
    $dirSignature = "\x50\x4b\x01\x02"; // central dir header signature
        var $dirSignatureE= "\x50\x4b\x05\x06"; // end of central dir
    signature     var $files_count  = 0;     var $fh;          Function
    dZip($filename, $overwri....
  11. Mail() Clone
    A PHP mail() function clone (5)
    A lot of free web hosts have disabled the mail() function so you cannot send emails using PHP. Does
    anybody know of a script that makes a function "like" mail but is able to be installed in a web
    accessible directory and called included into another script and called like that? Or maybe you know
    how to make such a function? I just really need to find a way around the free hosts turning of the
    mail() function. I need to figure out a way to send emails.....
  12. [php](simple) Using Functions To Combine Values In A Form
    Really simple example on how to combine values with function (2)
    I just learned this simple method on how to use functions to combine two values from a form. First
    we create ourselves a simple POST form CODE <form method="POST"> Name:
    <input type="text" name="nickname"> Location: <input
    type="text" name="location"> <input type="submit"
    value="Input"> </form> Now we add this php to that same file CODE
    <?php $nick = $_POST['nickname']; $location =
    $_POST['location' ....
  13. [php] Header Function
    (2)
    Header function Greetings we are going to use the header() funtion to redirect start making a
    file called page.php at the top of the file add CODE <?php ?> Example 1 After
    CODE header('Location: http://www.trap17.com'); the LOCATION means
    where you want it to go. Example 2 you also can define a file that you want to redirect to After
    CODE header('Location: index.php'); Example 3 you also can add a timer to
    it /laugh.gif" style="vertical-align:middle" emoid=":lol:" border="0" alt=....
  14. Php - Randomize Web Title
    using arrays and the random function (5)
    PHP - Randomize Web Title with the rand function... Define the variables numbers we start at number
    0 CODE <?php $title[0] = "Web title 0"; // Title 0
    $title[1] = "Web title 1"; // Title 1 $title[2] = "Web title
    2"; // Title 2 $title[3] = "Web title 3"; // Title 3
    $title[4] = "Web title 4"; // Title 4 ?> now we use the rand()
    function to get a randomize the web title. rand(0, 4) means we start at 0 and end at 4 i can get
    0,1,2,3,4 one of those. ....
  15. Error With Joomla Template
    cant find function (1)
    Hello! I am working on my template in Dreamweaver and i am using joomla extensions for
    dreamweaver! When i start my page with joomla stand alone server(jsas) i get this errors on the
    bottom of the page! QUOTE Warning:
    mosloadcomponent(w:/www/Joomla/components/com_banner/banner.php) : failed to open stream: No such
    file or directory in w:\www\Joomla\includes\frontend.php on line 66 Warning:
    mosloadcomponent(w:/www/Joomla/components/com_banner/banner.php) : failed to open stream: No such
    file or directory in w:\www\Joomla�....
  16. Using The / As A Delimiter In The Split Function
    using the / as a Delimiter in the split function (2)
    How do I use the / as a Delimiter in the split function? This is the code now: CODE
    ($url1, $url2, $url3) = split (/\./,$Image_Upload_4);
    This is what I want to be able to split up the url: CODE ($url1, $url2,
    $url3) = split (/\/./,$Image_Upload_4); I have tried to put the / in
    quotes but that did'nt work. Thanks for any help.....
  17. The Extract() Function
    Something I just found out (6)
    The extract() function is used in PHP to take an array and split it up into variables. MySQL
    queries can be parsed this way. Below is an example. CODE $query =
    mysql_query("select username, password from users where uid=1"); $result =
    mysql_fetch_array($query, mysql_assoc); extract($result); print "Your
    username is : $username"; The extract() function works for ANY array, including
    $_POST, and $_GET. Makes processing form data a LOT easier /biggrin.gif"
    style="vertical-align:midd....
  18. How Good Is This Data Cleaning Function?
    (2)
    Hi all, this is my first function and as part of a script and i just want to know a couple of
    things. here is the code for the function: CODE <? function
    clean($dirty_string) { $muddy_string = stripslashes($dirty_string);
    $murky_string = strip_tags($muddy_string); $clean_string =
    htmlentities($murky_string);      }; ?> So the first thing is how secure is
    it? the script this will be used in connects to a database and sends an email so it needs to stop
    SQL injections and any email ab....
  19. Errors With Php Setcookie() And Headers! Please Help!
    Having header errors when I try to set a cookie with PHP function setc (2)
    Hey guys, I'm having a problem setting cookies with PHP. I am trying to implement a script that
    will allow someone to log in and access members only pages on my website. One of the aspects is that
    I have to place a cookie on that persons computer. I know that you can use the PHP function
    setcookie() to place it on your computer. The problem is that wherever i have setcookie() in my PHP
    code I get an error: " Warning: Cannot modify header information - headers already sent by (output
    started at /home/runeco/public_html/cookie.php:6) in /home/runeco/public_html/cooki....
  20. Genuine Help With Smtp And Php Mail() Function
    I need help using the PHP mail() function and the SMTP server on Trap1 (3)
    Hello, I have looked up the solution to this problem numerous times on this forum but cannot seem to
    get a straight answer. I have also read that something called SMTP Authetication is required. I have
    looked up numerous ways this should be done, but I believe it required special protocols. This is
    the code that I tried to use to send e-mail using the SMTP server here at Trap17. CODE
    $email_to = "whoever@whoever.com"; //SEND MAIL TO HERE $subject = "Testing the
    SMTP server"; $message = "This is a test of the SMTP server on T....
  21. Explode Function Help
    need help from you programmers! (1)
    /smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /> Hi I am robert I
    need some help with some php coding. I am stuck with a explode function. Here is the code:
    $username = $check ; $query="SELECT `buildings` FROM `authuser` WHERE
    `uname` = '$username'"; $result=mysql_query($query);
    $result=mysql_result($result,0);
    list($building1,$building2,$building3,$building4,$building5,$building6
    ,$building7,$building8,$building9,....
  22. Did This Hosting Service Support This Function ?
    Ask hosting service releted items (1)
    hi, I'am Eric, Did the hosting service support some cache methods such as eaccelerator or zend
    optimizer ? Thanks Eric,....
  23. Regexp Function Preg_match_all()
    preg_match_all() - Help me (0)
    Hi, I got a new problem which has caused me to go mad but no solution. preg_match_all() - is the
    problem. I have something like this: CODE [ol] [li]Test1[/li]
    [li]Test2[/li] [li]Test3[/li] [li]Test4[/li]
    [li]Test5[/li] [/ol] Some text.Some text.Some text. [ol]
    [li]Test1[/li] [ol] [li]Test1[/li]
    [li]Test2[/li] [li]Test3[/li] [li]Test4[/li]
    [li]Test5[/li] &....
  24. Help C++
    write a function (2)
    Hello! I will be thankfull if you could hlelp me wrtie a function which will read in a phone
    number from the user and return it to the caller ( in C++) Thanks!....
  25. Is The Report Function Working?
    (3)
    I have asked many mods this, and have been told no... i have asked an admin i never got an answer
    ive asked in almost every PM report ive sent.... lol so here it is again "Is the Report Feature
    Working?!?!?" i was told my one mod yes it was yet a few days ago i was told my 2 no... hmm
    i cant get a straight answer *sigh*....
  26. Sending PHP mail with mail() function issue
    mail function (5)
    I have pretty much deleted a page with over 700 lines of code in it trying to find what was wrong
    with it, and it still wont work. I also tried on a new page. mail("my email", "Test", "Test");
    DOSNT WORK!!! mail("my email", "Test", "Test","From: my email@myhost.com); DOSNT
    WORK!!! if(mail("my email", "Test", "Test")) { echo "it worked"; } RETURNS "it
    worked", BUT IT STILL DOSNT WORK!!! WHAT THE HELL IS WRONG.. IM ABOUT TO KILL MYSELF
    /mad.gif" style="vertical-align:middle" emoid=":angry:" border="0" alt="mad.gif" /> /mad.gi....
  27. Php : Undefined Function Imagecreatefromjpeg() ?!
    (2)
    Hi there, I get this error in my php script : Call to undefined function: imagecreatefromjpeg();
    /sad.gif" style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" /> there is a few time
    this function was enable.... Where is gone the gd library ? Why this usefull library is no more
    enable ? Advice us about this, no way to do a good job whitout this library... Bye.....
  28. Javascript Function Problem
    (4)
    I make this function: HTML <script language=" JavaScript " type=" text/javascript ">
    function validFormUse(passF) { if(passF.user.value == "") return false;
    if(passF.pass.value == "") return false; return true } /script > I want to
    make : HTML if(passF.user.value == "") return false; like this: HTML
    if(passF.user.value == "") { alert("FALSE"); return false; } but, it
    doesn;t work. Why? I use the brackets and it doens't work. only if it doesn't use bracket....
  29. Include File.php?id=something
    using the include() function (13)
    Well, I am making a full CMS system for my site, and want to make the index.php file to include the
    view.php?id=1 file. I tried with this code, but it didn't work: CODE <?php include
    'view.php?id=1' ?> This is the error I get: CODE Warning:
    main(view.php?id=1) [function.main]: failed to open stream: Invalid argument
    in C:\server\xampp\htdocs\test\index.php on line 1 Warning:
    main() [function.include]: Failed opening 'view.php?id=1' for inclusion
    (i....
  30. Delphi
    Simple Text Parsing Function (1)
    Because parsing is such an integral part of string manipulation, I took the time to make a quick and
    simple parse function. For you VBers, Delphi is a derivative of Pascal...it's powerful, simple,
    and (best of all) doesn't need external component (eg: ocx files). Hence the code: Code:
    function TForm1.SimpleParse(MainString, BeginString, EndString: string): string; var PosBeginString:
    integer; PosEndString: integer; begin PosBeginString := Pos(BeginString, MainString) +
    Length(BeginString); PosEndString := Pos(EndString, MainString); Result := Copy(MainString, ....

    1. Looking for win, api, function

Searching Video's for win, api, function
Similar
Endif
function?
Php - Forms,
Date And
Include -
Working with
POST and GET
and also the
Date()
function
User
Permission
Function
[php] -
Determining
User
Permissions
Help:
Disable All
Buttons
Inside A Div
Element -
How do you
write a
function to
disable all
buttons
given a div
id
Inkscape, A
Open Source
Vector App
That Support
Lot
Function. -
An Open
Source
vector
graphics
editor, with
capabilities
similar to
Il
Arrays
Outside A
Function -
Need to have
arrays
available to
all
functions.
Problem With
Where Clause
And Max
Function -
Problem with
where clause
and max
function
How To Check
If Fsockopen
Function Is
Enabled?
Php Explode
Function
Help
The Best Zip
Function
Mail() Clone
- A PHP
mail()
function
clone
[php](simple
) Using
Functions To
Combine
Values In A
Form -
Really
simple
example on
how to
combine
values with
function
[php] Header
Function
Php -
Randomize
Web Title -
using arrays
and the
random
function
Error With
Joomla
Template -
cant find
function
Using The /
As A
Delimiter In
The Split
Function -
using the /
as a
Delimiter in
the split
function
The
Extract()
Function -
Something I
just found
out
How Good Is
This Data
Cleaning
Function?
Errors With
Php
Setcookie()
And
Headers!
Please
Help! -
Having
header
errors when
I try to set
a cookie
with PHP
function
setc
Genuine Help
With Smtp
And Php
Mail()
Function - I
need help
using the
PHP mail()
function and
the SMTP
server on
Trap1
Explode
Function
Help - need
help from
you
programmers&
#33;
Did This
Hosting
Service
Support This
Function ? -
Ask hosting
service
releted
items
Regexp
Function
Preg_match_a
ll() -
preg_match_a
ll() - Help
me
Help C++ -
write a
function
Is The
Report
Function
Working?
Sending PHP
mail with
mail()
function
issue - mail
function
Php :
Undefined
Function
Imagecreatef
romjpeg()
?!
Javascript
Function
Problem
Include
File.php?id=
something -
using the
include()
function
Delphi -
Simple Text
Parsing
Function
advertisement



Win Api Function - know someone ?



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE