Click here to Skip to main content
15,897,226 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: Compiling with VS2010 Pin
Albert Holguin19-Jul-11 11:32
professionalAlbert Holguin19-Jul-11 11:32 
QuestionATL CString Pin
hrishi32110-Jul-11 18:49
hrishi32110-Jul-11 18:49 
AnswerRe: ATL CString Pin
Cool_Dev10-Jul-11 21:02
Cool_Dev10-Jul-11 21:02 
GeneralRe: ATL CString Pin
hrishi32110-Jul-11 21:18
hrishi32110-Jul-11 21:18 
GeneralRe: ATL CString Pin
Cool_Dev11-Jul-11 4:36
Cool_Dev11-Jul-11 4:36 
GeneralRe: ATL CString Pin
hrishi32111-Jul-11 17:43
hrishi32111-Jul-11 17:43 
GeneralRe: ATL CString Pin
Richard MacCutchan11-Jul-11 22:26
mveRichard MacCutchan11-Jul-11 22:26 
GeneralRe: ATL CString Pin
BWake8-Aug-11 5:47
BWake8-Aug-11 5:47 
I think you need to bite the bullet and convert all your char variables and constants to TCHAR. If you do not, you will continue to have problems like this. If it were easy to solve the multi-byte to Unicode to multi-byte character conversion issues that solution would be part of the CString class.

The changes you need to make are mechanical. You need to put _T() around all your string and character literals. You need to change all your char variables to TCHAR.

I don't know how big your project is, or if you have access to all the source. I suspect you have spent more time trying to avoid the issue than a proper fix would require.
AnswerRe: ATL CString Pin
Richard MacCutchan11-Jul-11 5:03
mveRichard MacCutchan11-Jul-11 5:03 
GeneralRe: ATL CString Pin
hrishi32111-Jul-11 17:45
hrishi32111-Jul-11 17:45 
QuestionAvoiding MFC CString Pin
hrishi32110-Jul-11 16:58
hrishi32110-Jul-11 16:58 
AnswerRe: Avoiding MFC CString Pin
Albert Holguin12-Jul-11 5:47
professionalAlbert Holguin12-Jul-11 5:47 
GeneralRe: Avoiding MFC CString Pin
VeganFanatic24-Jul-11 8:49
VeganFanatic24-Jul-11 8:49 
GeneralRe: Avoiding MFC CString Pin
Albert Holguin25-Jul-11 4:10
professionalAlbert Holguin25-Jul-11 4:10 
AnswerRe: Avoiding MFC CString Pin
Derakhshan.a24-Jul-11 20:50
Derakhshan.a24-Jul-11 20:50 
QuestionMFC DPI Dependent Behaviour Pin
Kyudos5-Jul-11 13:54
Kyudos5-Jul-11 13:54 
GeneralRe: MFC DPI Dependent Behaviour Pin
Albert Holguin6-Jul-11 4:15
professionalAlbert Holguin6-Jul-11 4:15 
QuestionBasic doubt with Class template Pin
hrishi3214-Jul-11 16:13
hrishi3214-Jul-11 16:13 
AnswerRe: Basic doubt with Class template Pin
Richard MacCutchan5-Jul-11 0:11
mveRichard MacCutchan5-Jul-11 0:11 
GeneralRe: Basic doubt with Class template Pin
hrishi3215-Jul-11 20:37
hrishi3215-Jul-11 20:37 
GeneralRe: Basic doubt with Class template Pin
Richard MacCutchan5-Jul-11 22:20
mveRichard MacCutchan5-Jul-11 22:20 
GeneralRe: Basic doubt with Class template Pin
hrishi3215-Jul-11 23:05
hrishi3215-Jul-11 23:05 
GeneralRe: Basic doubt with Class template Pin
Richard MacCutchan5-Jul-11 23:14
mveRichard MacCutchan5-Jul-11 23:14 
GeneralRe: Basic doubt with Class template Pin
hrishi3216-Jul-11 21:45
hrishi3216-Jul-11 21:45 
GeneralRe: Basic doubt with Class template Pin
Albert Holguin5-Jul-11 9:44
professionalAlbert Holguin5-Jul-11 9:44 

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.