Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling Cryptor DLL functions
Message
From
19/05/2003 05:51:27
Km Kwun
Eastop Consultants Limited
Nt, Hong Kong
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Third party products
Title:
Calling Cryptor DLL functions
Miscellaneous
Thread ID:
00789915
Message ID:
00789915
Views:
86
Is there anyone who has successful experience in calling Cryptor without going through C40Fox?0.Fll. The following code works perfectly in VFP development environment. However when it is in an EXE, the "USE" command generates an "Not a Table" error. I have tested the code in VFP 6, 7 & 8 under WinXP, Win2K and Win98 and got the same result.

Declare Integer CRYIni_Initialize In XiCrCore.Dll Integer nMode
Declare Integer CRYMan_Register In XiCrCore.Dll String cFileName, String cPassword, Integer nFlags, Integer nMethod
CRYIni_Initialize(1)
CRYMan_Register('test.dbf','123',0,2)
USE test
Browse

(Test.dbf was encoded by CRYUtl_Encode(test.dbf,'123','',0,2))

Thanks a lot if anybody could help!
Next
Reply
Map
View

Click here to load this message in the networking platform