ATL::CString doesn't have conversion operator for LPTSTR...
"Richard B." <dj_deipotent-/[email protected]> Thu, 09 Jun 2011 23:45:56 +0100
| Newsgroups | gmane.comp.windows.wtl |
|---|---|
| Message-ID | <[email protected]> |
I can't remember where I read it, but I've been using ATL's CString over
WTL's CString as using WTL's can cause problems when mixing and matching
ATL, WTL, MFC code.
While playing around with DDX and WTL, I got a compilation error for the
DDX_TEXT macro saying "cannot convert parameter 2 from 'ATL::CString' to
'LPTSTR'".
I would prefer to keep using ATL's CString, and modifying atlstr.h to
add a LPTSTR conversion operator is obviously not ideal, so any ideas on
how best to handle this ?
Best Regards,
Richard B.
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/wtl/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/wtl/join
(Yahoo! ID required)
<*> To change settings via email:
[email protected]
[email protected]
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/