Click here to Skip to main content
15,898,371 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
QuestionNot getting events in ATL Pin
DrkAngr6-Jan-09 8:56
DrkAngr6-Jan-09 8:56 
QuestionWTL Tab icon headache Pin
Nicolai M2-Jan-09 12:41
Nicolai M2-Jan-09 12:41 
AnswerRe: WTL Tab icon headache Pin
JaydeepB6-Jan-09 10:36
JaydeepB6-Jan-09 10:36 
QuestionRe: WTL Tab icon headache Pin
Nicolai M14-Jan-09 1:42
Nicolai M14-Jan-09 1:42 
QuestionSTL string::const_iterator problem converting code from VC6 to VS2008. Pin
Neville Franks28-Dec-08 12:55
Neville Franks28-Dec-08 12:55 
AnswerRe: STL string::const_iterator problem converting code from VC6 to VS2008. Pin
Andy Moore29-Dec-08 6:52
Andy Moore29-Dec-08 6:52 
GeneralRe: STL string::const_iterator problem converting code from VC6 to VS2008. Pin
Neville Franks29-Dec-08 9:52
Neville Franks29-Dec-08 9:52 
GeneralRe: STL string::const_iterator problem converting code from VC6 to VS2008. Pin
Stuart Dootson29-Dec-08 14:04
professionalStuart Dootson29-Dec-08 14:04 
Neville Franks wrote:
I was/am interested in knowing how I could resolve the original issue. ie. get a std::string from a string::const_iterator.


You can't. You can construct a copy of the string from an iterator pair, but technically, there's no way to deduce the string endpoints from a single iterator.

The reason it worked on VC6 is because VC6 std::string iterators were char pointers. Although (strictly), std::strings don't have to be stored as null-terminated strings, in practise they are, so a std::string could be constructed usng a single std::string iterator.
GeneralRe: STL string::const_iterator problem converting code from VC6 to VS2008. Pin
Neville Franks29-Dec-08 14:16
Neville Franks29-Dec-08 14:16 
QuestionCOM aggregation Pin
KASR121-Dec-08 19:59
KASR121-Dec-08 19:59 
AnswerRe: COM aggregation Pin
Stuart Dootson22-Dec-08 0:49
professionalStuart Dootson22-Dec-08 0:49 
QuestionDoubt in QueryInterface pointers Pin
KASR121-Dec-08 18:45
KASR121-Dec-08 18:45 
AnswerRe: Doubt in QueryInterface pointers Pin
Stuart Dootson22-Dec-08 0:46
professionalStuart Dootson22-Dec-08 0:46 
GeneralRe: Doubt in QueryInterface pointers Pin
KASR122-Dec-08 0:51
KASR122-Dec-08 0:51 
Questioncannot open include file 'atlres.h' Pin
josip cagalj19-Dec-08 1:53
josip cagalj19-Dec-08 1:53 
AnswerRe: cannot open include file 'atlres.h' Pin
Stuart Dootson19-Dec-08 2:16
professionalStuart Dootson19-Dec-08 2:16 
GeneralRe: cannot open include file 'atlres.h' Pin
josip cagalj19-Dec-08 2:35
josip cagalj19-Dec-08 2:35 
GeneralRe: cannot open include file 'atlres.h' Pin
Stuart Dootson19-Dec-08 2:38
professionalStuart Dootson19-Dec-08 2:38 
GeneralRe: cannot open include file 'atlres.h' Pin
josip cagalj19-Dec-08 2:42
josip cagalj19-Dec-08 2:42 
GeneralRe: cannot open include file 'atlres.h' Pin
josip cagalj19-Dec-08 2:47
josip cagalj19-Dec-08 2:47 
GeneralRe: cannot open include file 'atlres.h' Pin
Stuart Dootson19-Dec-08 3:05
professionalStuart Dootson19-Dec-08 3:05 
GeneralRe: cannot open include file 'atlres.h' Pin
josip cagalj19-Dec-08 3:13
josip cagalj19-Dec-08 3:13 
GeneralRe: cannot open include file 'atlres.h' Pin
Stuart Dootson19-Dec-08 3:38
professionalStuart Dootson19-Dec-08 3:38 
GeneralRe: cannot open include file 'atlres.h' Pin
josip cagalj19-Dec-08 3:57
josip cagalj19-Dec-08 3:57 
GeneralRe: cannot open include file 'atlres.h' Pin
Stuart Dootson19-Dec-08 4:16
professionalStuart Dootson19-Dec-08 4:16 

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.