Mike H.
2009-05-30 10:21:27 UTC
Hi,
If I redistribute an app which is built with the "Multi threaded DLL"
option (windows), can I be sure that the user has all the necessary
run-time DLL files on his/her computer?
I want to build the calendar sample as a Multi threaded instead of Multi
threaded DLL, to get rid of run-time dll depencies.
When I change the code generation setting in MS Visual C++ 2008 Express
Ddition to Multi threaded, I get lots of link errors, for example:
Error 1 error LNK2005: _free already defined in
LIBCMTD.lib(dbgfree.obj) MSVCRTD.lib
Error 2 error LNK2005: _tolower already defined in
LIBCMTD.lib(tolower.obj) MSVCRTD.lib
Error 3 error LNK2005: _isalnum already defined in
LIBCMTD.lib(_ctype.obj) MSVCRTD.lib
Error 4 error LNK2005: _malloc already defined in
LIBCMTD.lib(dbgmalloc.obj) MSVCRTD.lib
Error 5 error LNK2005: _strchr already defined in
LIBCMTD.lib(strchr.obj) MSVCRTD.lib
I've tried adding LIBCMTD.lib as a library to ignore, but there are
still errors. Any clue?
/Mike
If I redistribute an app which is built with the "Multi threaded DLL"
option (windows), can I be sure that the user has all the necessary
run-time DLL files on his/her computer?
I want to build the calendar sample as a Multi threaded instead of Multi
threaded DLL, to get rid of run-time dll depencies.
When I change the code generation setting in MS Visual C++ 2008 Express
Ddition to Multi threaded, I get lots of link errors, for example:
Error 1 error LNK2005: _free already defined in
LIBCMTD.lib(dbgfree.obj) MSVCRTD.lib
Error 2 error LNK2005: _tolower already defined in
LIBCMTD.lib(tolower.obj) MSVCRTD.lib
Error 3 error LNK2005: _isalnum already defined in
LIBCMTD.lib(_ctype.obj) MSVCRTD.lib
Error 4 error LNK2005: _malloc already defined in
LIBCMTD.lib(dbgmalloc.obj) MSVCRTD.lib
Error 5 error LNK2005: _strchr already defined in
LIBCMTD.lib(strchr.obj) MSVCRTD.lib
I've tried adding LIBCMTD.lib as a library to ignore, but there are
still errors. Any clue?
/Mike