Problem registering with regsvr32.exe DLL files - MSVCR90 and Manifest files. RRS feed

  • Question

  • I want to register DLL file with regsvr32.exe, but got error:

    LoadLibrary failed - This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.

    I found solution for this problem: i put into the same directory Microsoft.VC90.CRT and msvcr90.dll files.
    But if i put my dll file with Microsoft.VC90.CRT and msvcr90.dll files to the c:\WINDOWS\system32\ - now regsvr32.exe want not to register dll... i got the same error. If files lay into system32 directory, i do not know why, but regsvr32.exe searchs manifest in: c:\WINDOWS\WinSxS\ and if i install vcredist_x86.exe problem is solved - but i want to make my own install file to register my dll which must be in system32 directory and do not want install vcredist_x86.exe. May be there are solution?
    Saturday, July 26, 2008 11:11 PM


  • Solution: Use libcmtd.lib/libcmt.lib instead msvcrtd.lib/msvcrtd.lib
    • Marked as answer by VadimDSF Friday, June 19, 2009 12:06 PM
    Friday, June 19, 2009 12:06 PM