To troubleshoot the LoadLibrary() failure, run the application under a debugger and enable first chance exception handling for the C0000005 Access Violation exception. If an access violation occurs when the LoadLibrary() function is called, the application will break into the debugger. The debugger's call stack can then be used to trace where the exception occurred. The stack trace should help you narrow down the actual problem related to the exception being encountered.
For information on how to enable first chance exception handling for the C0000005 Access violation exception, please refer to the debugger documentation.
Article ID: 196069 - Last Review: Nov 21, 2006 - Revision: 1