#1 03.11.06 20:58
Косяк с библиотеками
В VC 7 проект в режиме debug нормально компилится и работает, при попытке скомпилить релиз выдает следущее:
Linking...
LIBCMT.lib(crt0dat.obj) : error LNK2005: __osplatform already defined in atlmincrt.lib(atlinit.obj)
.\IEPlugin.def : warning LNK4222: exported symbol 'DllCanUnloadNow' should not be assigned an ordinal
.\IEPlugin.def : warning LNK4222: exported symbol 'DllGetClassObject' should not be assigned an ordinal
.\IEPlugin.def : warning LNK4222: exported symbol 'DllRegisterServer' should not be assigned an ordinal
.\IEPlugin.def : warning LNK4222: exported symbol 'DllUnregisterServer' should not be assigned an ordinal
LIBCMT.lib(crt0dat.obj) : warning LNK4006: __osplatform already defined in atlmincrt.lib(atlinit.obj); second definition ignored
Creating library .\ReleaseMinSize/prog.lib and object .\ReleaseMinSize/prog.exp
LIBCMT.lib(crt0.obj) : error LNK2019: unresolved external symbol _main referenced in function _mainCRTStartup
.\ReleaseMinSize/prog.dll : fatal error LNK1120: 1 unresolved externals
прога - COM- объект(dll)
Offline

