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

C / C++ / MFC

 
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 
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 
My program compiles and links successfully now Laugh | :laugh:

I used dynamic linking to lib4. I then needed to remove the NODEFAULTLIB:"libcpmt.lib and NODEFAULTLIB:"libc.lib" from my application link options. (I still needed to have NODEFAULTLIB:"libcmt.lib")

Thank you for your help!
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 
GeneralRe: correct way to copy bstr ? Pin
Mogaambo28-Apr-09 2:09
Mogaambo28-Apr-09 2:09 
GeneralRe: correct way to copy bstr ? Pin
tolw28-Apr-09 2:29
tolw28-Apr-09 2:29 
GeneralRe: correct way to copy bstr ? Pin
CPallini28-Apr-09 3:11
mveCPallini28-Apr-09 3:11 

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.