Re: linking wrong crt, regardless of compiler switch setting
Tech-Archive recommends: Fix windows errors by optimizing your registry
Kurt wrote:
Sharon
You may be linked to a static lib that was written in VC6.
Why would that affect which CRT version I'm using? I actually have
gotten past the System.BadImageFormat exception, but I'm still linking
to the debug CRT...
.
Relevant Pages
- Re: linking wrong crt, regardless of compiler switch setting
... Switch to release configuration. ... You may be linked to a static lib that was written in VC6. ... Why would that affect which CRT version I'm using? ... (microsoft.public.vc.mfc) - Re: Add a VC 6 library in a VC8 project
... Since all references from the VC6 code are resolved ... What's wrong with the shared CRT? ... Sometimes things can be greatly simplified by wrapping the lib ... // OK; only fundamental types ... (microsoft.public.dotnet.languages.vc) - Re: Linking a VC++ 2005 LIB to a VC++ 6 project?
... Ich würde aber sagen, dass es prinzipiell geht, solange Du keine MFC/ATL verwendest. ... Wenn die lib alles enthalten soll, darf sie auch keine CRT verwenden. ... Was ja auch kein Wunder ist, da seit VC6 sich schon einiges getan hat. ... (microsoft.public.de.vc) - Re: Does it matter what runtime version I use in static lib?
... specify /MT /MD etc... ... the only effect of specifying the CRT for a static lib is: ... automatically select the CRT at link time. ... (microsoft.public.vc.language) |
|