error R6034 ... attempt to load the C runtime library incorrectly

T

Teffy

I am trying to run a command-line utility, "UTIL", on my laptop PC
running WinXP-SP2. UTIL was written in Perl, so I installed
ActivePerl 5.8.8.817 from ActiveState.com. UTIL also requires a
couple of CPAN modules which I installed by using "nmake", which is
"make" for Win32.

This is a story of: try to run UTIL, get an error message, search the
web, install something else to eliminate the error. To get 'cl', I
installed 'Microsoft Visual Studio 8' - actually 'Visual C++ 2005
Express'. To get 'windows.h', I installed 'Microsoft Platform SDK for
Windows Server 2003 R2'. To use these together, I performed the steps
"Using Visual C++ 2005 Express Edition with the Microsoft Platform
SDK" listed here:
http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/

So far, so good. But, I cannot eliminate the latest error,

--------------------------- perl.exe - Unable To Locate Component
--------------------------- This application has failed to start
because MSVCR80.dll was not found. Re-installing
the application may fix this problem. ---------------------------

So, after reading about DLL Hell, unmanaged assemblies, manifests, and
unmanaged DLLs and their dependencies, I added:
C:\Program Files\Microsoft Platform SDK for Windows Server 2003
R2\Include\atl
C:\Program Files\Microsoft Platform SDK for Windows Server 2003
R2\Include\mfc
C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_0de06acd

to vsvars32.bat in "C:\Program Files\Microsoft Visual Studio
8\Common7\Tools".

Now, when I run UTIL, I get this error:

--------------------------- Microsoft Visual C++ Runtime Library
---------------------------
Runtime Error!

Program: C:\Perl\bin\perl.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. ---------------------------

I thought that a solution might be described under 'Update 2' at
http://www.itwriting.com/blog/?postid=261 , but it is not in enough
detail for a novice like me.

So, per the last post in this thread,

http://groups.google.com/group/microsoft.public.windowsxp.embedded/br...
ad+*+c+runtime+library+incorrectly&rnum=1&hl=en#87eeee7c403b6e16, I
removed

C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_0de06acd

from vsvars32.bat and copied
C:\WINDOWS\WinSxS\x86_Microsoft.VC80.MFC_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_dec6ddd2
C:\WINDOWS\WinSxS\x86_Microsoft.VC80.ATL_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_6e805841
C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_0de06acd
C:\WINDOWS\WinSxS\x86_Microsoft.VC80.DebugCRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_f75eb1
6c
to the directory containing UTIL. I still get the error:

--------------------------- perl.exe - Unable To Locate Component
--------------------------- This application has failed to start
because MSVCR80.dll was not found. Re-installing
the application may fix this problem. ---------------------------

Please advise! Thank you, Teffy
 
A

alicecury22

Perform clean boot to fix this runtime error r6034 and to do this follow the given below steps:-
Click Start, type msconfig in the Start Search box, and then press enter.
From the General tab, click Selective Startup.
In the Selective Startup, click Load Startup items check box.
Click the Services tab, click to select the Hide All Microsoft Services check box, and then click Disable All and then click ok. Then restart your computer.
To overcome form this situation you can also use third party repair tool to fix this <a href="http://www.r6034runtimeerrorfix.com">runtime error r6034</a>.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top