Click here to Skip to main content
15,920,801 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\ Pin
Richard MacCutchan25-Jul-11 3:33
mveRichard MacCutchan25-Jul-11 3:33 
AnswerRe: SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\ Pin
MicroVirus6-Sep-11 2:18
MicroVirus6-Sep-11 2:18 
QuestionHelp regarding method WNetCancelConnection2 Pin
tasumisra18-Jul-11 23:42
tasumisra18-Jul-11 23:42 
AnswerRe: Help regarding method WNetCancelConnection2 Pin
Richard MacCutchan19-Jul-11 0:35
mveRichard MacCutchan19-Jul-11 0:35 
QuestionProblems with Docking Toolbars Pin
Syamlal S Nair18-Jul-11 17:59
Syamlal S Nair18-Jul-11 17:59 
QuestionCompiling with VS2010 Pin
Kyudos14-Jul-11 13:39
Kyudos14-Jul-11 13:39 
AnswerRe: Compiling with VS2010 Pin
Albert Holguin15-Jul-11 3:54
professionalAlbert Holguin15-Jul-11 3:54 
GeneralRe: Compiling with VS2010 [modified] Pin
Kyudos17-Jul-11 17:50
Kyudos17-Jul-11 17:50 
GeneralRe: Compiling with VS2010 Pin
Albert Holguin18-Jul-11 4:33
professionalAlbert Holguin18-Jul-11 4:33 
GeneralRe: Compiling with VS2010 Pin
Kyudos18-Jul-11 11:13
Kyudos18-Jul-11 11:13 
GeneralRe: Compiling with VS2010 Pin
Albert Holguin18-Jul-11 11:19
professionalAlbert Holguin18-Jul-11 11:19 
GeneralRe: Compiling with VS2010 Pin
Kyudos19-Jul-11 10:40
Kyudos19-Jul-11 10:40 
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 

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.