Hi,
in an ATL7 (Visual Studio 2003) project everything builds fine for the DEBUG
build. But when I want to build the release version, I get the following
linker errors:
WisUtil warning LNK4006: '__osplatform' bereits in
'atlmincrt.lib(atlinit.obj)' definiert; zweite Definition wird ignoriert
WisUtil error LNK2005: __osplatform bereits in atlmincrt.lib(atlinit.obj)
definiert
WisUtil error LNK2019: Nicht aufgelöstes externes Symbol '_main', verwiesen
in Funktion '_mainCRTStartup'(here the translation)WisUtil warning LNK4006: '__osplatform' alreday defined in
'atlmincrt.lib(atlinit.obj)'; second definition will be ignored
WisUtil error LNK2005: __osplatform alreday defined in
atlmincrt.lib(atlinit.obj)
WisUtil error LNK2019: Unresolved external symbol '_main', referenced in
function '_mainCRTStartup'
When I replace the Library Multithreaded (/MT) by Multithreaded-Debug (/MTd)
in the release build, everything works fine. Is there a problem with the
retail Multithreaded library? Is it a bug? How can I work around?Every help welcome!
Cheers, Harald