P
Paul Brun
Hello everyone,
I have tried all the solutions trying to figure out how to remedy my mixed mode DLL solution,
however, I still can't get the project to compile. I have tried all the solutions managed in the
Microsoft Knowledgebase article, but I get the following issues:
libcmt.lib(crt0init.obj) : error LNK2005: ___xc_z already defined in msvcrt.lib(cinitexe.obj)
libcmt.lib(crt0init.obj) : error LNK2005: ___xc_a already defined in msvcrt.lib(cinitexe.obj)
libcmt.lib(crt0init.obj) : error LNK2005: ___xi_z already defined in msvcrt.lib(cinitexe.obj)
libcmt.lib(crt0init.obj) : error LNK2005: ___xi_a already defined in msvcrt.lib(cinitexe.obj
libcmt.lib(winxfltr.obj) : error LNK2005: ___CppXcptFilter already defined in msvcrt.lib(MSVCR71.dll)
libcmt.lib(crt0.obj) : error LNK2005: __amsg_exit already defined in msvcrt.lib(MSVCR71.dll)
libcmt.lib(crt0.obj) : error LNK2019: unresolved external symbol _main referenced in function _mainCRTStartup
D:\Mitel-Development\MiTAI.NET\MitaiNET\Release\MitaiNET.dll : fatal error LNK1120: 1 unresolved externals
And my original issue involving the last line "unresolved external symbol _main...bla..." is still causing me problems.
Any hints.
Thanks
Paul
I have tried all the solutions trying to figure out how to remedy my mixed mode DLL solution,
however, I still can't get the project to compile. I have tried all the solutions managed in the
Microsoft Knowledgebase article, but I get the following issues:
libcmt.lib(crt0init.obj) : error LNK2005: ___xc_z already defined in msvcrt.lib(cinitexe.obj)
libcmt.lib(crt0init.obj) : error LNK2005: ___xc_a already defined in msvcrt.lib(cinitexe.obj)
libcmt.lib(crt0init.obj) : error LNK2005: ___xi_z already defined in msvcrt.lib(cinitexe.obj)
libcmt.lib(crt0init.obj) : error LNK2005: ___xi_a already defined in msvcrt.lib(cinitexe.obj
libcmt.lib(winxfltr.obj) : error LNK2005: ___CppXcptFilter already defined in msvcrt.lib(MSVCR71.dll)
libcmt.lib(crt0.obj) : error LNK2005: __amsg_exit already defined in msvcrt.lib(MSVCR71.dll)
libcmt.lib(crt0.obj) : error LNK2019: unresolved external symbol _main referenced in function _mainCRTStartup
D:\Mitel-Development\MiTAI.NET\MitaiNET\Release\MitaiNET.dll : fatal error LNK1120: 1 unresolved externals
And my original issue involving the last line "unresolved external symbol _main...bla..." is still causing me problems.
Any hints.
Thanks
Paul