Jump to content
xisto Community
Sign in to follow this  
palladin

Win Api Function know someone ?

Recommended Posts

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 :P --------------------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 :D

Share this post


Link to post
Share on other sites

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...

Edited by DeveloperX (see edit history)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.