Click here to Skip to main content
15,915,600 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Strip file lines? Pin
David Crow7-May-07 6:19
David Crow7-May-07 6:19 
GeneralRe: Strip file lines? Pin
bosfan7-May-07 21:32
bosfan7-May-07 21:32 
GeneralRe: Strip file lines? [modified] Pin
Mark Salsbery7-May-07 7:01
Mark Salsbery7-May-07 7:01 
GeneralRe: Strip file lines? Pin
toxcct7-May-07 7:16
toxcct7-May-07 7:16 
GeneralRe: Strip file lines? Pin
Mark Salsbery8-May-07 4:10
Mark Salsbery8-May-07 4:10 
GeneralRe: Strip file lines? Pin
Mark Salsbery8-May-07 4:13
Mark Salsbery8-May-07 4:13 
GeneralRe: Strip file lines? Pin
bosfan7-May-07 21:30
bosfan7-May-07 21:30 
QuestionLinker Error LNK2005 Pin
tom groezer7-May-07 3:30
tom groezer7-May-07 3:30 
I'm getting the following errors when I build a dll in debug mode with the Runtime library setting to Multithreaded debug /MD

1>Linking...
1>MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _strcat_s already defined in LIBCMTD.lib(strcat_s.obj)
1>MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _wcslen already defined in LIBCMTD.lib(wcslen.obj)
1>MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _wcscpy_s already defined in LIBCMTD.lib(wcscpy_s.obj)
1>MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __mbschr already defined in LIBCMTD.lib(mbschr.obj)
1>MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _iswctype already defined in LIBCMTD.lib(iswctype.obj)
1>MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _isxdigit already defined in LIBCMTD.lib(_ctype.obj)

However when I change the setting to Multithreaded debug Dll I no longer get the same error. can anybody tell me so.

P.S. this project used to compile on VC6 and no longer compiles once it is ported to VC2005.
AnswerRe: Linker Error LNK2005 Pin
jhwurmbach7-May-07 4:20
jhwurmbach7-May-07 4:20 
GeneralRe: Linker Error LNK2005 Pin
tom groezer7-May-07 4:51
tom groezer7-May-07 4:51 
GeneralRe: Linker Error LNK2005 Pin
jhwurmbach7-May-07 4:54
jhwurmbach7-May-07 4:54 
AnswerRe: Linker Error LNK2005 Pin
Michael Dunn7-May-07 8:41
sitebuilderMichael Dunn7-May-07 8:41 
QuestionHelp needed Pin
pankaj0dm7-May-07 3:22
pankaj0dm7-May-07 3:22 
AnswerRe: Help needed Pin
David Crow7-May-07 3:23
David Crow7-May-07 3:23 
GeneralRe: Help needed Pin
pankaj0dm7-May-07 3:27
pankaj0dm7-May-07 3:27 
GeneralRe: Help needed Pin
toxcct7-May-07 3:33
toxcct7-May-07 3:33 
GeneralRe: Help needed Pin
pankaj0dm7-May-07 3:48
pankaj0dm7-May-07 3:48 
QuestionRe: Help needed Pin
David Crow7-May-07 3:37
David Crow7-May-07 3:37 
AnswerRe: Help needed Pin
pankaj0dm7-May-07 4:01
pankaj0dm7-May-07 4:01 
QuestionRe: Help needed Pin
David Crow7-May-07 4:11
David Crow7-May-07 4:11 
AnswerRe: Help needed Pin
James R. Twine7-May-07 3:33
James R. Twine7-May-07 3:33 
GeneralRe: Help needed Pin
pankaj0dm7-May-07 3:50
pankaj0dm7-May-07 3:50 
QuestionRe: Help needed Pin
David Crow7-May-07 3:57
David Crow7-May-07 3:57 
QuestionKill a thread Pin
deeps_cute7-May-07 3:16
deeps_cute7-May-07 3:16 
AnswerRe: Kill a thread Pin
James R. Twine7-May-07 3:19
James R. Twine7-May-07 3:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.