Msg:
---------------------------
Microsoft Visual C++ Runtime Library
---------------------------
Runtime Error!
Program: E:\WINDOWS\system32\regsvr32.exe
R6034
An application has made an attempt to load the C runtime library incorrectly.
Please contact the application's support team for more information.
---------------------------
OK
---------------------------
Reason:
It happened because two Run-Time DLLs were referenced in my DLL by some reason! Inside of the DLL there are two Run-Time DLLs : 'msvcr80d.dll' and 'msvcr80.dll', and the 2nd one is the reason of that run-time problem.
Solution:
Use Dependency Walker to check which module has msvcr80.dll
Add 'msvcrt.lib' to the list of ignored libraries for DEBUG-configuration:
[Configuration Properties] -> [Linker] -> [Input] -> 'Ignore Specific Library' - msvcrt.lib
Wednesday, September 2, 2009
Subscribe to:
Posts (Atom)