Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Declare DLL's
Message
De
13/05/2010 11:09:57
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01464409
Message ID:
01464411
Vues:
74
DECLARE DLL is used for Win32 DLLs ONLY. Your's is probably a COM DLL. You use it with CREATEOBJECT()


>Hi Gang!
>
>Today, I have a new problem ....
>
>I have a DLL created by another company call
>
>clsEncryption which has a class in it called clsEncrypt
>
>clsEncrypt has 4 methods in it.
>
>DecryptDataFromFile (FileName, Length, NABP)  returns decrypted string
>EncryptDataFromFile(FileName, Data, Length, NABP)  returns status (0=success).
>DecryptString(Data, Length, NABP) returns decrypted string
>EncryptString(Data, Length, NABP)  returns encrypted string
>
>
>I want to Declare the DLL and then call the DecryptDataFromFile method.
>
>I tried this to start with...
>
>
>DECLARE STRING DecryptDataFromFile IN "clsEncryption.dll" STRING sFileName, LONG lLength, STRING sNABP
>*Convert encrypted file to unencrypted string of memory data
>	
>lcUnencryptedStringofData = DecryptDataFromFile(lcFile, DECRYPTSTRINGLENGTH, lcNABP)
>
>
>but got an error...
>
>"Cannot find entry point DecryptDataFromFile in the DLL".
>
>So, what is the correct way to set up this Class in the DLL to be called?
>
>Thanks a bunch!
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform