>Hi Gang!
>
>Today, I have a new problem ....
>
>I have a DLL created by another company called 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!
Found out that this DLL called another DLL, and the 2nd DLL had a problem, and was updatted, but I didn't receive the updatted DLL until now... sigh.... what you go through!!!
Thanks everyone for your help !!!
Tommy Tillman A+ NetWork+ MCP