Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling Cryptor DLL functions
Message
De
19/05/2003 05:51:27
Km Kwun
Eastop Consultants Limited
Nt, Hong Kong
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Titre:
Calling Cryptor DLL functions
Divers
Thread ID:
00789915
Message ID:
00789915
Vues:
85
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!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform