Touchlib on VS2008 - Problem debugging OSC project
Posted: 26 June 2008 12:40 AM   [ Ignore ]
New Member
Rank
Total Posts:  31
Joined  2007-07-10

I compiled touchlib on VS2008, but when I try to execute OSC in debug mode, I get a message telling that MSVCR90.dll was not found. I copied the MSVCR90.dll and MSVCP.dll files to the bin directory, and get another message:

Runtime Error!

R6034
An application has made an attempt to load the C runtime library incorrectly.

I’m trying many ways to solve this problem but I can’t found any solution. This problem doesn’t happen in release mode and configapp work correctly in debug and release mode.

EDIT: I changed the post title to be more specific.

Profile
 
 
Posted: 30 July 2008 02:22 AM   [ Ignore ]   [ # 1 ]
New Member
Rank
Total Posts:  6
Joined  2008-07-29

I suspect this has to do with the “side-by-side” assemblies.

Are you compiling a debug version, and trying to run it on the machine you compiled it on, because the name of the DLL that’s trying to get loaded is the release version of the runtime. You should try to “Rebuild All” especially if you made any changes in the project settings.

And although I doubt this will fix the issue, try to grab the appropriate version of the VS 2008 runtime and see if that helps:

The 32-bit x86 version is here: http://www.microsoft.com/downloads/details.aspx?FamilyID=9b2da534-3e03-4391-8a4d-074b9f2bc1bf&displaylang=en
The 64-bit x86 version is here: http://www.microsoft.com/downloads/details.aspx?FamilyID=bd2a6171-e2d6-4230-b809-9a8d7548c1b6&displaylang=en

If none of these solutions work, we can try more more advanced tango to pin it down.

-n

Profile
 
 
   
 
 
‹‹ sampleapp.cpp help      Few starter questions ››