Click here to Skip to main content
15,881,802 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: LNK2005 Error: basic_string already defined Pin
SkysTheLimit28-Apr-09 7:52
SkysTheLimit28-Apr-09 7:52 
GeneralRe: LNK2005 Error: basic_string already defined Pin
Stuart Dootson28-Apr-09 8:37
professionalStuart Dootson28-Apr-09 8:37 
GeneralRe: LNK2005 Error: basic_string already defined Pin
SkysTheLimit28-Apr-09 8:46
SkysTheLimit28-Apr-09 8:46 
GeneralRe: LNK2005 Error: basic_string already defined Pin
Stuart Dootson28-Apr-09 8:48
professionalStuart Dootson28-Apr-09 8:48 
GeneralRe: LNK2005 Error: basic_string already defined Pin
SkysTheLimit28-Apr-09 8:52
SkysTheLimit28-Apr-09 8:52 
GeneralRe: LNK2005 Error: basic_string already defined Pin
Stuart Dootson28-Apr-09 9:15
professionalStuart Dootson28-Apr-09 9:15 
GeneralRe: LNK2005 Error: basic_string already defined Pin
SkysTheLimit28-Apr-09 9:22
SkysTheLimit28-Apr-09 9:22 
GeneralRe: LNK2005 Error: basic_string already defined Pin
Stuart Dootson28-Apr-09 10:52
professionalStuart Dootson28-Apr-09 10:52 
WendyS56 wrote:
Do you mean if my application includes "string.h" and some other library header files include "string" or "CString" then there would be a conflict?

Or is it because there are multiple includes of the same header file (i.e. string.h)?


No - multiple includes shouldn't do that. What that message is saying is that your main object contains definitions for the string methods. I'm not sure why, but that's what the message is saying.

Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

GeneralRe: LNK2005 Error: basic_string already defined Pin
SkysTheLimit29-Apr-09 7:40
SkysTheLimit29-Apr-09 7:40 
GeneralRe: LNK2005 Error: basic_string already defined Pin
Stuart Dootson29-Apr-09 8:41
professionalStuart Dootson29-Apr-09 8:41 
GeneralRe: LNK2005 Error: basic_string already defined Pin
SkysTheLimit29-Apr-09 10:28
SkysTheLimit29-Apr-09 10:28 
GeneralRe: LNK2005 Error: basic_string already defined Pin
Stuart Dootson29-Apr-09 10:40
professionalStuart Dootson29-Apr-09 10:40 
QuestionGetScreenResolution Pin
p_196028-Apr-09 4:22
p_196028-Apr-09 4:22 
AnswerRe: GetScreenResolution Pin
led mike28-Apr-09 4:31
led mike28-Apr-09 4:31 
Questionwhat's the average cpu tick counts for a CView's WM_PAINT handler? Pin
flyingxu28-Apr-09 4:17
flyingxu28-Apr-09 4:17 
AnswerRe: what's the average cpu tick counts for a CView's WM_PAINT handler? Pin
led mike28-Apr-09 4:28
led mike28-Apr-09 4:28 
QuestionHow to limit size of edit box Pin
amitovoip28-Apr-09 3:55
amitovoip28-Apr-09 3:55 
QuestionRe: How to limit size of edit box Pin
David Crow28-Apr-09 4:34
David Crow28-Apr-09 4:34 
QuestionSQL & c++ Pin
komofilms7728-Apr-09 2:57
komofilms7728-Apr-09 2:57 
QuestionRe: SQL & c++ Pin
David Crow28-Apr-09 3:06
David Crow28-Apr-09 3:06 
AnswerMaybe an example can help? Pin
gerens28-Apr-09 3:29
gerens28-Apr-09 3:29 
GeneralRe: Maybe an example can help? Pin
komofilms7728-Apr-09 19:41
komofilms7728-Apr-09 19:41 
Questioncorrect way to copy bstr ? Pin
Mogaambo28-Apr-09 1:44
Mogaambo28-Apr-09 1:44 
AnswerRe: correct way to copy bstr ? Pin
_AnsHUMAN_ 28-Apr-09 1:55
_AnsHUMAN_ 28-Apr-09 1:55 
AnswerRe: correct way to copy bstr ? Pin
Garth J Lancaster28-Apr-09 1:58
professionalGarth J Lancaster28-Apr-09 1:58 

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.