Home Help Center

ATL Service & ICE

chuatecksiongchuatecksiong Member chuatecksiongOrganization: chuatecksiongProject: none
Help::How do I incoorporate ICE into ATL Service EXE since ATL Service requires the Runtime Library Setting to be Multi-threaded (/MT) and ICE requires the Runtime Library Setting to be Multi-threaded DLL (/MD).

if I set to /MD, I get the following error:
LIBCMT.lib(crt0.obj) : error LNK2019: unresolved external symbol _main referenced in function _mainCRTStartup

Comments

  • michimichi Member Michi HenningOrganization: Triodia TechnologiesProject: I have a passing interest in Ice :-) ✭✭✭
    I'm sorry, but I don't know how to do this. From browsing the compiler doc, it appears that /MT adds libcmt.lib to generated object files. If you compile with /MD, you could try to explictly link against libcmt.lib. That might just resolve your problem.

    Cheers,

    Michi.
Sign In or Register to comment.