000028010 - LoadLibrary can't load a debug DLL that uses Crypto-C ME

Document created by RSA Customer Support Employee on Jun 15, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000028010
Applies ToCrypto-C Micro Edition 3.0.0.7
Visual Studio 2008
IssueLoadLibrary can't load a debug DLL that uses Crypto-C ME
LoadLibrary() returns NULL

GetLastError() returns 0x7e

Cause

Crypto-C ME has a dependency on MSVCR90.DLL, while a DLL built in Debug configuration will have a dependency on MSVCR90D.DLL.  Apparently, the presence of these conflicting dependencies can cause LoadLibrary() to fail to load a DLL load.

ResolutionBuilding the DLL in Release configuration solved the problem.
Legacy Article IDa53274

Attachments

    Outcomes