Information générale
Catégorie:
Produits tierce partie
Hi,
>>
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!
<<
Hi,
There's a known issue - I think the EXE fails to keep track of the hook so there's a bit of extra code needed with the Init() - I'll dig it up later today and post it...
Regards,
Viv
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement