George V. Reilly's Technical Blog

Shell extension throwing R6034 errors

http://www.georgevreilly.com/blog/content/binary/R6034.png

I have been cleaning up some issues with the Win64 port of Vim, including the Edit with Vim shell extension not working very well. When I built the shell extension with VS 2005 on x86, I would get the following whenever I right-clicked in Explorer:

Microsoft Visual C++ Runtime Library

Runtime Error!

Program: C:\WINDOWS\Explorer.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.

There was no mention of which application was at fault, though it was obvious in this case. I have also seen some mention of verclsid in the error dialog, though not when I took this snapshot.

The underlying problem relates to SxS, Fusion, and all that good stuff. By far the simplest fix was for me to statically link with libcmt.lib, instead of msvcrt.lib, rather than figure out the necessary manifest magic.

Comments

Allen said:

the suggestion of statically link with libcmt.lib, instead of msvcrt.lib does do the trick!

thank you for sharing!

# August 1, 2007 2:52 PM

brendan said:

i get runtime error r6034 but its from program D:\setup\rsrc\cod2.exe when tring to intall call of duty

Goalieb@aol.com

# September 12, 2007 6:54 PM

scouserocker said:

iya mate cud u help me how to statically link with libcmt.lib please ... its drivin me mad lol ... thanx mate

# November 24, 2007 1:28 PM

scouserocker said:

my email addy is tonygrey83@hotmail.com  ... thanx agen m8

# November 25, 2007 9:59 AM

cloning dvds problem said:

This strip reminded me of my Cryptology class for which I was the TA with an enrollment of 70 students. Weekly assignments were horrible as I spent more time grading them than the students may have spent on searching for the solutions. Exams were the

# March 23, 2008 9:27 PM

dvd player decoders said:

One of the most feared colors in the NT world is blue. The infamous Blue Screen of Death (BSOD) will pop up on an NT system whenever something has gone terribly wrong. Bluescreen is a screen saver that not only authentically mimics a BSOD, but will simulate

# June 28, 2008 6:26 AM

dvd decrypt download said:

So component A which lives in the dll and namespace Com. Hertkorn. Infrastructure. ComponentA and component B which lives in the dll and namespace Com. Hertkorn. Infrastructure. ComponentB should share types. Ideally their shared types live in a component

# June 28, 2008 8:12 AM

shrink dvd said:

If you use your PC for work, don’ t use it for play, or allow family members to use it for play. Personal experiences show that the most common ways viruses, spyware, and other bad stuff gets on people’ s PC’ s is through“ play” stuff. This includes downloaded

# June 28, 2008 10:20 AM

dvd decrypter guide said:

2. Session Restore- It’ s another feature that IE lacks, and it’ s saved me countless times. Everyone experiences the occasional crash (especially if you’ re working on a PC), and Firefox has got you covered. If you’ re forced to end the process or you

# June 29, 2008 7:14 AM

how to record a dvd said:

3) Fix errors where you see them. Similar to the point above, if you see an error… either fix it, or let us know about it. Obviously we’ d prefer that you fix it yourself (using that same Edit link described above), but if you’ re a bit timid about editing

# June 29, 2008 9:11 AM

cd dvd burning software said:

So, lately it\'s been getting sower and slower. Like, I\'d hit the \"Start\" button and the \"rolling donut\" (the little icon that tells you the PC is working on something and you should wait a while) would pop up for 15 seconds, and then the start menu

# June 29, 2008 5:16 PM

Registry Cleaner said:

Second, a wide adoption of ping services can help to speed up the convergence of standard ontologies. In the blogosphere, we have seen the convergence of few RSS standards, which I believe is due to the wide adoption of ping services, as well as RSS readers

# July 7, 2008 8:13 PM

bestes dvd copy software said:

An hour after getting the box running, it died- BIG time. By this I mean it simply stopped working. Upon rebooting, the system wont even display BIOS information. My guess is that this is a hardware fault and that the CPU has died seeing as no information

# July 9, 2008 11:37 AM

program pro game rip said:

“ I sat him down and told him what I thought the problems were with security and force protection and turned him loose,” said Sergeant Fenner. “ Within three months, he’ d established new entry control procedures, with Staff Sgt. David Dike, also from

# July 9, 2008 12:03 PM

regcure said:

Incorrect configurations, hardware problems, conflicting data in the hard drive, incompatibility, damaged, or conflict in your device drivers may induce errors in your Windows XP. Build up of temporary files in your temporary folders may also render your

# September 3, 2008 8:00 PM

John said:

jaytran102@hotmail.com

I dont know how to fix this error and I dont know what is meant by statically linking

# December 28, 2008 7:21 PM
Leave a Comment

(required) 

(required) 

(optional)

(required)