Click here to Skip to main content
15,922,512 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionWhy can't debug in multy top document program(vs2003)? Pin
zhoucheng21-Apr-06 23:13
zhoucheng21-Apr-06 23:13 
QuestionSuggestions for Code Obfuscator and/or Encrypter Pin
JSadleir21-Apr-06 22:18
JSadleir21-Apr-06 22:18 
AnswerRe: Suggestions for Code Obfuscator and/or Encrypter Pin
Nick_Kisialiou22-Apr-06 0:53
Nick_Kisialiou22-Apr-06 0:53 
AnswerRe: Suggestions for Code Obfuscator and/or Encrypter Pin
Roland Pibinger22-Apr-06 1:04
Roland Pibinger22-Apr-06 1:04 
GeneralRe: Suggestions for Code Obfuscator and/or Encrypter Pin
JSadleir22-Apr-06 14:09
JSadleir22-Apr-06 14:09 
AnswerRe: Suggestions for Code Obfuscator and/or Encrypter Pin
John R. Shaw22-Apr-06 19:14
John R. Shaw22-Apr-06 19:14 
GeneralRe: Suggestions for Code Obfuscator and/or Encrypter Pin
JSadleir22-Apr-06 21:23
JSadleir22-Apr-06 21:23 
GeneralRe: Suggestions for Code Obfuscator and/or Encrypter Pin
John R. Shaw22-Apr-06 22:02
John R. Shaw22-Apr-06 22:02 
GeneralRe: Suggestions for Code Obfuscator and/or Encrypter Pin
JSadleir25-Apr-06 16:50
JSadleir25-Apr-06 16:50 
GeneralRe: Suggestions for Code Obfuscator and/or Encrypter Pin
Blake Miller26-Apr-06 7:57
Blake Miller26-Apr-06 7:57 
GeneralRe: Suggestions for Code Obfuscator and/or Encrypter Pin
Nick_Kisialiou22-Apr-06 22:15
Nick_Kisialiou22-Apr-06 22:15 
GeneralRe: Suggestions for Code Obfuscator and/or Encrypter Pin
JSadleir25-Apr-06 16:55
JSadleir25-Apr-06 16:55 
QuestionWindows Registry and Kernle Mode Programs Pin
Dennis Tampoa21-Apr-06 21:42
Dennis Tampoa21-Apr-06 21:42 
QuestionCurrent Login User Pin
shadrach_india21-Apr-06 20:47
shadrach_india21-Apr-06 20:47 
AnswerRe: Current Login User Pin
Naveen21-Apr-06 21:06
Naveen21-Apr-06 21:06 
GeneralRe: Current Login User Pin
shadrach_india22-Apr-06 1:17
shadrach_india22-Apr-06 1:17 
QuestionWhat Exactly in Windows does Call Back Functions Mean? Pin
CodeVarma21-Apr-06 20:20
CodeVarma21-Apr-06 20:20 
AnswerRe: What Exactly in Windows does Call Back Functions Mean? Pin
_AnsHUMAN_ 21-Apr-06 21:49
_AnsHUMAN_ 21-Apr-06 21:49 
GeneralRe: What Exactly in Windows does Call Back Functions Mean? Pin
Saurabh.Garg21-Apr-06 21:58
Saurabh.Garg21-Apr-06 21:58 
GeneralRe: What Exactly in Windows does Call Back Functions Mean? Pin
chasetoys21-Apr-06 22:15
chasetoys21-Apr-06 22:15 
AnswerRe: What Exactly in Windows does Call Back Functions Mean? Pin
Saurabh.Garg21-Apr-06 21:54
Saurabh.Garg21-Apr-06 21:54 
AnswerRe: What Exactly in Windows does Call Back Functions Mean? Pin
Parthiban21-Apr-06 22:45
Parthiban21-Apr-06 22:45 
AnswerRe: What Exactly in Windows does Call Back Functions Mean? Pin
Stephen Hewitt22-Apr-06 0:49
Stephen Hewitt22-Apr-06 0:49 
QuestionEvil Error Link 2005 problem (Nafxcwd.lib Libcmtd.lib) on release configuration; Debug config works great!?! Pin
chasetoys21-Apr-06 20:19
chasetoys21-Apr-06 20:19 
Hey everyone, I have the following issue: I am not able to build a release version of my app, although building a debug one works great.

So I looked up error 2005 and it said to put libcmt.lib & nafxcw.lib in the ignore directive... WHICH i DID

(results of ignoring libcmt.lib & nafcw.lib, but still adding them to additioanl linker depdendcies)
Here a choice selection of the more than 200 errors:
LIBCMT.lib(invarg.obj) : error LNK2005: __initp_misc_invarg already defined in Libcmtd.lib(invarg.obj)
LIBCMT.lib(invarg.obj) : error LNK2005: __invoke_watson already defined in Libcmtd.lib(invarg.obj)
LIBCMT.lib(invarg.obj) : error LNK2005: __set_invalid_parameter_handler already defined in Libcmtd.lib(invarg.obj)
LIBCMT.lib(invarg.obj) : error LNK2005: __get_invalid_parameter_handler already defined in Libcmtd.lib(invarg.obj)

(results of ignoring libcmt.lib & nafcw.lib, but NOT including them to additional linker depencies)
nafxcw.lib(afxmem.obj) : error LNK2005: "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z) already defined in LIBCMT.lib(new.obj)
nafxcw.lib(afxmem.obj) : error LNK2005: "void __cdecl operator delete(void *)" (??3@YAXPAX@Z) already defined in LIBCMT.lib(delete.obj)
nafxcw.lib(afxmem.obj) : error LNK2005: "void * __cdecl operator new[](unsigned int)" (??_U@YAPAXI@Z) already defined in LIBCMT.lib(new2.obj)
nafxcw.lib(afxmem.obj) : error LNK2005: "void __cdecl operator delete[](void *)" (??_V@YAXPAX@Z) already defined in LIBCMT.lib(delete2.obj)

And finally, the library settings that work great for the debug verison:
ADDITIONAL LINKDER DEPENDICIES: user32.lib odbc32.lib odbccp32.lib scrnsave.lib comctl32.lib kernel32.lib gdi32.lib Nafxcwd.lib Libcmtd.lib Advapi32.lib
IGNORE LIBRARIES: Nafxcwd.lib Libcmtd.lib

(I tried with t he exact same libaries on the release version (of course changing nafxcwd.lib->nafcw.lib and libcmtd.lib->libcmt.lib for release version), with no effect.

Thanks in advance!

-- modified at 2:19 Saturday 22nd April, 2006
AnswerRe: Evil Error Link 2005 problem (Nafxcwd.lib Libcmtd.lib) on release configuration; Debug config works great!?! Pin
Saurabh.Garg21-Apr-06 21:41
Saurabh.Garg21-Apr-06 21:41 

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.