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

C / C++ / MFC

 
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 
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 

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.