>>>I just implemented some data encryption using VfpEncryption71.fll. It seems to work fine, but when I close the application, I get an error "API call caused an exception." I believe it is on the line of code that says "SET LIBRARY TO." Any ideas?
>>
>>Hi Elyse,
>>
>>Is there anyway that you could give me some code that would reproduce this problem? If so, I can step through the VC++ code in the FLL and find out what is going on here and fix it. There isn't any UNLOAD function being called within the FLL when it is released, so it shouldn't actually be doing anything that can cause an exception. Also, i'm hopeful that if you are able to give me a repo of the problem that it repos in VFP 9.0 SP2 as well (I can't bring myself to reinstall VFP 8 in order to debug this). Thanks.
>
>It's part of a large app. I tried to isolate the code but couldn't get the error then.
OK, thank you for trying. Can you tell me which functions in the FLL are being used in your large app and which specific types of encryption (AES, RC4, etc.) or hashes (SHA1, MD5, etc.) before SET LIBRARY TO is called?