Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
_crypt between vfp7, vfp8, and vfp9
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
01061732
Message ID:
01061742
Views:
23
Hi Raymond,

I can't reproduce this. The following code in VFP 7 and VFP 9 produces identical output files:
loCrypt = NewObject("_CryptApi",Home()+"FFC\_Crypt.vcx")
lcEncrypted = ""
? loCrypt.EncryptSessionBlockString( Space(2000), "x", @lcEncrypted )
StrToFile(m.lcencrypted,Version()+".txt")
My bet would be that either both applications either calculate different check sums (pass known data to the CRC function in both cases to verify), or they are not executing the code that you are comparing, or there's a setting that is identical in both instances on my machine, but different on yours.
--
Christof
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform