Posted on 2000-05-09
I have a .EXE which depends on DLL A. The .EXE uses LoadLibrary to load DLL B, which also depends on DLL A. The LoadLibrary call on DLL B failes, reporting "invalid access to memory location" in its static initializer. The static initializer for DLL B is using static data from DLL A, and fails whether trying to assign to that static data or invoke a method which likely also modifies the static data.
This application is *not* using MFC or MFC shared libs.
How can I fix this? What's causing the memory fault?