Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there a StrToHex API function?
Message
From
05/02/2002 04:56:57
 
 
To
04/02/2002 05:57:39
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00614674
Message ID:
00615288
Views:
28
>I just found a solution. Albert Ballinger's great utility FoxCrypto.fll (see http://fox.wikis.com/wc.dll?Wiki~FoxCrypto~VFP) has a function called HexEncoder which does exactly this. This function is soooooo fast. My StrToHex() version written in VFP took 127 seconds to convert a 180KB file. Albert's function does it in 0.1 second!!!
>

Glad you liked it. Did you use the single function call
lcEncoded = HexEncoder( tcBinary, tlUpperCase )
to encode the string? My examples all use the handle based functions and I am curious whether it is obvious that you can get the same result with a single function call.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform