Click here to Skip to main content
15,910,886 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionDumping the call stack to a log at runtime Pin
Code-o-mat10-Feb-09 5:25
Code-o-mat10-Feb-09 5:25 
AnswerRe: Dumping the call stack to a log at runtime Pin
Stuart Dootson10-Feb-09 6:44
professionalStuart Dootson10-Feb-09 6:44 
GeneralRe: Dumping the call stack to a log at runtime Pin
Code-o-mat10-Feb-09 6:46
Code-o-mat10-Feb-09 6:46 
QuestionCalling global function causing linking error. Pin
Comp_Users10-Feb-09 2:53
Comp_Users10-Feb-09 2:53 
QuestionRe: Calling global function causing linking error. Pin
prasad_som10-Feb-09 3:34
prasad_som10-Feb-09 3:34 
AnswerRe: Calling global function causing linking error. Pin
Comp_Users10-Feb-09 3:40
Comp_Users10-Feb-09 3:40 
AnswerRe: Calling global function causing linking error. Pin
prasad_som10-Feb-09 3:41
prasad_som10-Feb-09 3:41 
GeneralRe: Calling global function causing linking error. Pin
Comp_Users10-Feb-09 3:54
Comp_Users10-Feb-09 3:54 
Tried what you asked me to do.

Created a new .h file and added the function declarations in the global space in the .h file and in the utility .cpp file, included this newly created .h file.

Now in the .cpp file where i am calling these utility functions, I have included the newly added .h file. But the error still persists.

These are the exact error messages.

1>XMLLoader.obj : error LNK2005: "void __cdecl TrimString(wchar_t *)" (?TrimString@@YAXPA_W@Z) already defined in UtilityFunctions.obj

1>Output/Sample.dll : fatal error LNK1169: one or more multiply defined symbols found

GeneralRe: Calling global function causing linking error. Pin
Cedric Moonen10-Feb-09 4:11
Cedric Moonen10-Feb-09 4:11 
GeneralRe: Calling global function causing linking error. Pin
CPallini10-Feb-09 3:49
mveCPallini10-Feb-09 3:49 
GeneralRe: Calling global function causing linking error. Pin
Comp_Users10-Feb-09 3:55
Comp_Users10-Feb-09 3:55 
GeneralRe: Calling global function causing linking error. Pin
David Crow10-Feb-09 5:03
David Crow10-Feb-09 5:03 
AnswerRe: Calling global function causing linking error. Pin
Iain Clarke, Warrior Programmer10-Feb-09 5:54
Iain Clarke, Warrior Programmer10-Feb-09 5:54 
GeneralRe: Calling global function causing linking error. Pin
Comp_Users10-Feb-09 18:25
Comp_Users10-Feb-09 18:25 
GeneralRe: Calling global function causing linking error. Pin
Comp_Users10-Feb-09 18:36
Comp_Users10-Feb-09 18:36 
QuestionCalling C# DLL into core C++ Console application [modified] Pin
PankajB10-Feb-09 2:09
PankajB10-Feb-09 2:09 
AnswerRe: Calling C# DLL into core C++ Console application Pin
led mike10-Feb-09 4:30
led mike10-Feb-09 4:30 
AnswerRe: Calling C# DLL into core C++ Console application Pin
Eytukan10-Feb-09 8:43
Eytukan10-Feb-09 8:43 
QuestionHow to update single view Pin
KASR110-Feb-09 2:04
KASR110-Feb-09 2:04 
AnswerRe: How to update single view Pin
Maximilien10-Feb-09 2:43
Maximilien10-Feb-09 2:43 
AnswerRe: How to update single view Pin
David Crow10-Feb-09 3:00
David Crow10-Feb-09 3:00 
QuestionWinAPI Service StartServiceCtrlDispatcher gives Error-Code "1063" Pin
Harry_D10-Feb-09 0:37
Harry_D10-Feb-09 0:37 
AnswerRe: WinAPI Service StartServiceCtrlDispatcher gives Error-Code "1063" [modified] Pin
_AnsHUMAN_ 10-Feb-09 0:48
_AnsHUMAN_ 10-Feb-09 0:48 
GeneralRe: WinAPI Service StartServiceCtrlDispatcher gives Error-Code "1063" Pin
Harry_D10-Feb-09 6:21
Harry_D10-Feb-09 6:21 
AnswerRe: WinAPI Service StartServiceCtrlDispatcher gives Error-Code "1063" Pin
BukeMan6-Jul-11 0:08
BukeMan6-Jul-11 0:08 

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.