Wednesday, September 2, 2009

R6034 C++ Runtine Error

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

3 comments:

  1. I opened my system and try to install a program in my system but I was unable to install this program and receive runtime error r6034. I get shocked that what happened to my system and why I received this error. But when I come to this page and read the instructions then I have easily fixed this runtime error r6034. Thanks.

    ReplyDelete
  2. When I was facing similar runtime error, after that I think how to fix runtime error r6034 but thank to third party repair tool to easily fix this error and also speed up my personal computer system. You can also download this tool form the internet.

    ReplyDelete
  3. Runtime error r6034 is a common error which occurs in Microsoft Visual basic and c++ application but if you not fix runtime error r6034 then data may be lost and system may be crash. So repair the system and reinstall .NET framework.

    ReplyDelete