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/micr...q=r6034+*+application+has+made+*+attempt+*+lo
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

Adora Belle Dearheart

Teffy said:
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.
I have a component for perl 5.8.somethingorother that works. Would it be
useful for you to have it?
 
B

Bing.Chen

Dear Teffy,

I notify that you post this question into following newsgroup.
microsoft.public.vstudio.general
microsoft.public.windowsxp.embedded
microsoft.public.vc.language

Due to this newsgroup only discusses XP Embedded, please post your
question again in "microsoft.public.windowsxp.general".

--
Best Regards,
Bing Chen
Advantech Co., Ltd.

?? - ???????????????
http://www.advantech.com.tw/epc/newsletter/ATW/2005MS/
 

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