Click here to Skip to main content
15,893,668 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionWMI copy file to remote host Pin
Jack Rong28-Apr-09 8:41
Jack Rong28-Apr-09 8:41 
AnswerNicely spammed into 4 forums Pin
led mike28-Apr-09 8:57
led mike28-Apr-09 8:57 
GeneralRe: Nicely spammed into 4 forums Pin
CPallini28-Apr-09 9:25
mveCPallini28-Apr-09 9:25 
GeneralRe: Nicely spammed into 4 forums Pin
led mike28-Apr-09 10:39
led mike28-Apr-09 10:39 
QuestionRe: WMI copy file to remote host Pin
David Crow28-Apr-09 9:39
David Crow28-Apr-09 9:39 
QuestionCListCtrl flickers on Vista Pin
00.Siddu28-Apr-09 5:40
00.Siddu28-Apr-09 5:40 
QuestionRe: CListCtrl flickers on Vista Pin
David Crow28-Apr-09 8:28
David Crow28-Apr-09 8:28 
AnswerRe: CListCtrl flickers on Vista Pin
00.Siddu28-Apr-09 9:36
00.Siddu28-Apr-09 9:36 
QuestionRe: CListCtrl flickers on Vista Pin
David Crow28-Apr-09 9:45
David Crow28-Apr-09 9:45 
AnswerRe: CListCtrl flickers on Vista Pin
00.Siddu28-Apr-09 22:07
00.Siddu28-Apr-09 22:07 
AnswerRe: CListCtrl flickers on Vista Pin
Steve Thresher29-Apr-09 2:32
Steve Thresher29-Apr-09 2:32 
AnswerRe: CListCtrl flickers on Vista Pin
00.Siddu4-May-09 3:16
00.Siddu4-May-09 3:16 
Questionsending email Pin
santanukarmakar28-Apr-09 5:12
santanukarmakar28-Apr-09 5:12 
AnswerRe: sending email Pin
Stuart Dootson28-Apr-09 5:23
professionalStuart Dootson28-Apr-09 5:23 
QuestionLNK2005 Error: basic_string already defined Pin
SkysTheLimit28-Apr-09 4:35
SkysTheLimit28-Apr-09 4:35 
AnswerRe: LNK2005 Error: basic_string already defined Pin
Stuart Dootson28-Apr-09 5:45
professionalStuart Dootson28-Apr-09 5:45 
GeneralRe: LNK2005 Error: basic_string already defined Pin
SkysTheLimit28-Apr-09 7:52
SkysTheLimit28-Apr-09 7:52 
Thank you for your comprehensive replySmile | :)

Suggestion 1 didn't work, but it is probably better to have them all the same anyway, considering what affect that option has.

I used dumpbin on the offending library. It looks to me like it is defined but I would just like to check.

In the exports table the functions (e.g. resize) that the linker complains about are external and prefixed with __imp_. Is this why the linker is complaining?

Basically, one of the files in lib4 creates its own class which inherits from std::string. For older versions of C++, it has the lines
#using std::string
#define std_string string
in the header file.
For newer versions of Visual C++, it simply has
#define std_string std::string

What is the difference between these two?

As far as I can see, the header file calls the functions in inline functions without the specifier std::
Other than that those functions aren't overridden or referred to anywhere else.
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 
GeneralRe: LNK2005 Error: basic_string already defined Pin
SkysTheLimit29-Apr-09 7:40
SkysTheLimit29-Apr-09 7:40 

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.