LoadLibrary("My_dll") failed - Invalid access to memory location RRS feed

  • Question

  • Hi,

    I have developed a COM dll. I have no problem registering my dll on my own machine using regsvr32. My operating system is windows 7. But I have problem registering it on a windows server 2003 machine. The error is: LoadLibrary("My_dll") failed - Invalid access to memory location. 

    I have added regsvr32.exe to DEP exceptions, but the error still remains.

    Another thing that may be important to say, is that my dll was dependent to mfc100.dll, atl100.dll, msvcp100.dll and msvcr100.dll. I copied these dlls from my windows 7 to the folder where I have copied the COM dll on windows server 2003.

    please tell me where to ask this question, or provide me with some solution for the problem.


    Wednesday, May 16, 2012 6:30 AM


All replies