Jump to content



Welcome to KnowledgeSutra - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!
- - - - -

Win Api Function


1 reply to this topic

#1 palladin

    Member [Level 3]

  • Kontributors
  • PipPipPipPipPipPip
  • 92 posts

Posted 15 July 2005 - 08:57 AM

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

#2 DeveloperX

    Advanced Member

  • Kontributors
  • PipPipPipPipPipPipPip
  • 130 posts

Posted 06 July 2006 - 11:07 AM

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

Edited by DeveloperX, 06 July 2006 - 11:08 AM.





Reply to this topic


This post will need approval from a moderator before this post is shown.

  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users