Click here to Skip to main content
15,915,324 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: Internet Explorer ExplorerBar Pin
Richard MacCutchan16-Jun-10 22:59
mveRichard MacCutchan16-Jun-10 22:59 
AnswerRe: Internet Explorer ExplorerBar Pin
Eddy Vluggen16-Jun-10 23:44
professionalEddy Vluggen16-Jun-10 23:44 
AnswerRe: Internet Explorer ExplorerBar Pin
Stephen Hewitt20-Jun-10 14:28
Stephen Hewitt20-Jun-10 14:28 
QuestionHOW TO ACCESS CListBox in ATL Pin
D1koi11-Jun-10 2:48
D1koi11-Jun-10 2:48 
AnswerRe: HOW TO ACCESS CListBox in ATL Pin
Richard MacCutchan11-Jun-10 6:03
mveRichard MacCutchan11-Jun-10 6:03 
GeneralRe: HOW TO ACCESS CListBox in ATL Pin
D1koi11-Jun-10 12:46
D1koi11-Jun-10 12:46 
GeneralRe: HOW TO ACCESS CListBox in ATL Pin
D1koi11-Jun-10 13:22
D1koi11-Jun-10 13:22 
Questionstd::string constructor unresolved linking in VS 2010 Pin
StevenS_Dev6-Jun-10 12:40
StevenS_Dev6-Jun-10 12:40 
I am moving our project from VS 2005 to VS 2010 and am running up against some linker errors. std::string being multiply defined is one issue, but I will take some more time to look into that one. The one I am really confused about is the std::string constructor.

We have been using

// aCharArray is a char[]
std::string abc(aCharArray, 20);
// aStdString is a std::string
std::string anotherExample(aStdString.c_str(), 20);


without any problems. Now VS 2010 is giving me an unresolved external during linking. It is thinking I want the constructor std::string(const char*, unsigned int) which IS what I want. It used to be defined, and it does still seem to be defined. For some reason, updating to VS 2010, it is no longer linking, though. Is the implementation for this constructor perhaps missing? Anyone run into this or can anyone confirm the same issue? Thanks.

Resolving these is pretty easy, but I am left confused as to why it gets unresolved external.
AnswerRe: std::string constructor unresolved linking in VS 2010 Pin
StevenS_Dev6-Jun-10 16:44
StevenS_Dev6-Jun-10 16:44 
GeneralRe: std::string constructor unresolved linking in VS 2010 Pin
Stephen Hewitt6-Jun-10 17:41
Stephen Hewitt6-Jun-10 17:41 
AnswerRe: std::string constructor unresolved linking in VS 2010 Pin
Richard MacCutchan6-Jun-10 22:36
mveRichard MacCutchan6-Jun-10 22:36 
GeneralRe: std::string constructor unresolved linking in VS 2010 [modified] Pin
StevenS_Dev7-Jun-10 9:29
StevenS_Dev7-Jun-10 9:29 
GeneralRe: std::string constructor unresolved linking in VS 2010 Pin
Stephen Hewitt7-Jun-10 14:08
Stephen Hewitt7-Jun-10 14:08 
GeneralRe: std::string constructor unresolved linking in VS 2010 Pin
StevenS_Dev18-Jun-10 12:58
StevenS_Dev18-Jun-10 12:58 
QuestionWhat's the difference between Interface and dispInterface? Pin
KASR13-Jun-10 0:26
KASR13-Jun-10 0:26 
AnswerRe: What's the difference between Interface and dispInterface? Pin
Aescleal3-Jun-10 1:04
Aescleal3-Jun-10 1:04 
GeneralRe: What's the difference between Interface and dispInterface? Pin
Stephen Hewitt3-Jun-10 14:05
Stephen Hewitt3-Jun-10 14:05 
AnswerRe: What's the difference between Interface and dispInterface? Pin
Stephen Hewitt3-Jun-10 14:04
Stephen Hewitt3-Jun-10 14:04 
QuestionCreatin instance failed of a COM Pin
Schehaider_Aymen1-Jun-10 23:28
Schehaider_Aymen1-Jun-10 23:28 
AnswerRe: Creatin instance failed of a COM Pin
Schehaider_Aymen2-Jun-10 0:59
Schehaider_Aymen2-Jun-10 0:59 
GeneralRe: Creatin instance failed of a COM Pin
Randor 2-Jun-10 7:51
professional Randor 2-Jun-10 7:51 
GeneralRe: Creatin instance failed of a COM Pin
Randor 3-Jun-10 14:58
professional Randor 3-Jun-10 14:58 
QuestionATL / COM what's the use for ? Pin
Schehaider_Aymen1-Jun-10 6:00
Schehaider_Aymen1-Jun-10 6:00 
AnswerRe: ATL / COM what's the use for ? Pin
Randor 1-Jun-10 8:30
professional Randor 1-Jun-10 8:30 
GeneralRe: ATL / COM what's the use for ? Pin
Schehaider_Aymen1-Jun-10 9:29
Schehaider_Aymen1-Jun-10 9:29 

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.