Re: linking wrong crt, regardless of compiler switch setting
- From: "Kurt" <junk@xxxxxxxx>
- Date: Fri, 9 Jun 2006 14:37:36 -0500
Sharon
You may be linked to a static lib that was written in VC6.
"SLC" <dotnetchic@xxxxxxxxx> wrote in message
news:1149863075.351384.304000@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I'm using VS2005 and I have a project that keeps giving me an error
System.BadImageFormatException, among other strange behavior during
debug session. This app was recently ported from VC++6.0, and is
currently compiled with /clr switch.
I'm trying to make sure that all the projects link to the same CRT, but
while investigating this, I notice that even though my project settings
indicate a link to the dll via Multi-threaded DLL (/MD), a dumpbin on
the output file shows that I'm linking to MFC80D.DLL and MSVCR80D.dll,
the debug versions. How do I change this?
TIA,
Sharon
.
- Follow-Ups:
- References:
- Prev by Date: Re: VC6.0 call DLL that built by Visual 2005
- Next by Date: Re: event-driven code
- Previous by thread: linking wrong crt, regardless of compiler switch setting
- Next by thread: Re: linking wrong crt, regardless of compiler switch setting
- Index(es):
Relevant Pages
|