Click here to Skip to main content
15,888,286 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: vector vs. CByteArray Pin
Jörgen Sigvardsson30-Aug-06 21:25
Jörgen Sigvardsson30-Aug-06 21:25 
QuestionHow to use WTL's CDoubleBufferImpl Pin
shaohao25-Aug-06 4:04
shaohao25-Aug-06 4:04 
AnswerRe: How to use WTL's CDoubleBufferImpl Pin
Stuart Dootson25-Aug-06 5:34
professionalStuart Dootson25-Aug-06 5:34 
AnswerRe: How to use WTL's CDoubleBufferImpl Pin
Michael Dunn25-Aug-06 7:39
sitebuilderMichael Dunn25-Aug-06 7:39 
QuestionCalling a ATL COM DLL interface from VBScript routine Pin
AKSIVAKUMAR23-Aug-06 23:11
AKSIVAKUMAR23-Aug-06 23:11 
QuestionHow does the WTL CString compare with CString from MFC? Pin
TClarke23-Aug-06 6:43
TClarke23-Aug-06 6:43 
AnswerRe: How does the WTL CString compare with CString from MFC? Pin
Stuart Dootson23-Aug-06 8:48
professionalStuart Dootson23-Aug-06 8:48 
AnswerRe: How does the WTL CString compare with CString from MFC? Pin
Zac Howland23-Aug-06 9:54
Zac Howland23-Aug-06 9:54 
TClarke wrote:
When I started C++ I used MFC. I found CString a doddle to use sadly it turned out to be not exactly the finest of string implementations.


I assume you are referring to how it allocates memory, since other than that, it actually offers many features that even the STL string class doesn't give.


TClarke wrote:
Has this been resolved in the WTL or should I stick with the STL string or lower level self made implementations?


The answer to this question largely depends on what you are doing. If you are trying to write portable code, I would use std::string. If you are writing Windows-only code and have need for doing certain kinds of string operations, CString is probably the way you want to go.

The newest versions of WTL/ATL/MFC all use the same implementation of CString. Older versions were slightly different for MFC than the other toolkits.

If you decide to become a software engineer, you are signing up to have a 1/2" piece of silicon tell you exactly how stupid you really are for 8 hours a day, 5 days a week

Zac

AnswerRe: How does the WTL CString compare with CString from MFC? Pin
Michael Dunn23-Aug-06 11:56
sitebuilderMichael Dunn23-Aug-06 11:56 
GeneralRe: How does the WTL CString compare with CString from MFC? Pin
TClarke23-Aug-06 23:06
TClarke23-Aug-06 23:06 
QuestionUsing WTL with ATL to enhance ActiveX controls Pin
TClarke23-Aug-06 6:39
TClarke23-Aug-06 6:39 
AnswerRe: Using WTL with ATL to enhance ActiveX controls Pin
Jörgen Sigvardsson26-Aug-06 9:24
Jörgen Sigvardsson26-Aug-06 9:24 
GeneralRe: Using WTL with ATL to enhance ActiveX controls Pin
TClarke28-Aug-06 22:26
TClarke28-Aug-06 22:26 
QuestionSorting Multidimensional arrays Pin
Ratish Philip22-Aug-06 17:41
Ratish Philip22-Aug-06 17:41 
AnswerRe: Sorting Multidimensional arrays Pin
Stuart Dootson22-Aug-06 21:20
professionalStuart Dootson22-Aug-06 21:20 
GeneralRe: Sorting Multidimensional arrays Pin
Ratish Philip22-Aug-06 22:21
Ratish Philip22-Aug-06 22:21 
QuestionHow to Use WTL's CToolTipCtrl Pin
shaohao22-Aug-06 2:38
shaohao22-Aug-06 2:38 
AnswerRe: How to Use WTL's CToolTipCtrl Pin
Alain Rist22-Aug-06 6:14
Alain Rist22-Aug-06 6:14 
AnswerRe: How to Use WTL's CToolTipCtrl Pin
Hamid_RT15-Sep-06 21:58
Hamid_RT15-Sep-06 21:58 
QuestionNon-interactvie account Pin
rana7420-Aug-06 20:31
rana7420-Aug-06 20:31 
QuestionBad background color on static controls. Pin
ioctl5117-Aug-06 2:13
ioctl5117-Aug-06 2:13 
AnswerRe: Bad background color on static controls. Pin
Steve S17-Aug-06 2:59
Steve S17-Aug-06 2:59 
AnswerRe: Bad background color on static controls. Pin
Michael Dunn17-Aug-06 13:34
sitebuilderMichael Dunn17-Aug-06 13:34 
QuestionWinDbg FAILURE_BUCKET_ID????? Pin
MANOJ BATRA16-Aug-06 6:18
MANOJ BATRA16-Aug-06 6:18 
AnswerRe: WinDbg FAILURE_BUCKET_ID????? Pin
Mike Dimmick21-Aug-06 2:18
Mike Dimmick21-Aug-06 2:18 

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.