Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reverse a GUID? Fastest way?
Message
From
21/03/2008 22:51:38
Mike Yearwood
Toronto, Ontario, Canada
 
 
To
21/03/2008 22:08:22
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01304506
Message ID:
01304514
Views:
20
>>>>Thanks
>>>
>>>May I ask why you want to do that?
>>
>>I can't tell you yet.
>
>err ... OK. ("yet" is the key word here)
>
Here's a sample of how I applied what you provided:
m.cGUID = REPLICATE(CHR(0),16)
CoCreateGuid(@m.cGUID)
m.cGuid = ;
	BinToC(CToBin(Right(m.cGuid, 8), "BRS"), "BRS") + ;
	BinToC(CToBin(Left(m.cGuid, 8), "BRS"), "BRS")
It's a little faster. Looks like the timing I'm seeing is not just from the reversal process.

Thanks
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform