Click here to Skip to main content
14,765,482 members
Home » Discussions » ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: converting CString to Char[100] Pin
Albert Holguin21-Dec-11 10:30
professionalAlbert Holguin21-Dec-11 10:30 
GeneralRe: converting CString to Char[100] Pin
Richard MacCutchan21-Dec-11 10:46
mveRichard MacCutchan21-Dec-11 10:46 
AnswerRe: converting CString to Char[100] Pin
stonexin20-Dec-11 19:18
Memberstonexin20-Dec-11 19:18 
GeneralRe: converting CString to Char[100] Pin
stonexin20-Dec-11 19:18
Memberstonexin20-Dec-11 19:18 
GeneralRe: converting CString to Char[100] Pin
jumancollion27-Dec-11 6:08
Memberjumancollion27-Dec-11 6:08 
AnswerRe: converting CString to Char[100] Pin
zwhit9-Jan-12 21:25
Memberzwhit9-Jan-12 21:25 
QuestionConvert MFC dll To UNICODE Pin
MrKBA8-Dec-11 1:04
MemberMrKBA8-Dec-11 1:04 
AnswerRe: Convert MFC dll To UNICODE Pin
Richard MacCutchan8-Dec-11 1:28
mveRichard MacCutchan8-Dec-11 1:28 
You also need to make sure all your string literals ar changed from char to TCHAR with the _T() macro like this:
const char* cp = "Ansi string";       // old style char literal
PCTSTR tcp = _T("TCHAR string"); // will generate Ansi or Unicode depending on project settings

After that, the only way to be certain you have it right is to desk check and test. There may be some free tools around to help verify it but I'm not aware of them; Google may help you.
Unrequited desire is character building. OriginalGriff
I'm sitting here giving you a standing ovation - Len Goodman



AnswerRe: Convert MFC dll To UNICODE Pin
Richard MacCutchan8-Dec-11 2:09
mveRichard MacCutchan8-Dec-11 2:09 
GeneralRe: Convert MFC dll To UNICODE Pin
MrKBA8-Dec-11 2:52
MemberMrKBA8-Dec-11 2:52 
GeneralRe: Convert MFC dll To UNICODE Pin
Richard MacCutchan8-Dec-11 3:13
mveRichard MacCutchan8-Dec-11 3:13 
GeneralRe: Convert MFC dll To UNICODE Pin
MrKBA8-Dec-11 22:49
MemberMrKBA8-Dec-11 22:49 
GeneralRe: Convert MFC dll To UNICODE Pin
Richard MacCutchan8-Dec-11 23:09
mveRichard MacCutchan8-Dec-11 23:09 
GeneralRe: Convert MFC dll To UNICODE Pin
MrKBA26-Dec-11 2:04
MemberMrKBA26-Dec-11 2:04 
GeneralRe: Convert MFC dll To UNICODE Pin
Richard MacCutchan26-Dec-11 7:51
mveRichard MacCutchan26-Dec-11 7:51 
GeneralRe: Convert MFC dll To UNICODE Pin
MrKBA26-Dec-11 23:19
MemberMrKBA26-Dec-11 23:19 
GeneralRe: Convert MFC dll To UNICODE Pin
Richard MacCutchan27-Dec-11 1:14
mveRichard MacCutchan27-Dec-11 1:14 
QuestionLinking error when compiling projects Pin
bubuzzz28-Nov-11 1:51
Memberbubuzzz28-Nov-11 1:51 
AnswerRe: Linking error when compiling projects Pin
Richard MacCutchan28-Nov-11 2:02
mveRichard MacCutchan28-Nov-11 2:02 
GeneralRe: Linking error when compiling projects Pin
bubuzzz29-Nov-11 4:28
Memberbubuzzz29-Nov-11 4:28 
GeneralRe: Linking error when compiling projects Pin
Redgis30-Nov-11 23:26
MemberRedgis30-Nov-11 23:26 
GeneralRe: Linking error when compiling projects Pin
Gene OK6-Dec-11 5:54
MemberGene OK6-Dec-11 5:54 
QuestionTransparent image as background of a window. How? Pin
Frozzeg12-Nov-11 2:11
MemberFrozzeg12-Nov-11 2:11 
AnswerRe: Transparent image as background of a window. How? Pin
Richard MacCutchan12-Nov-11 4:08
mveRichard MacCutchan12-Nov-11 4:08 
GeneralRe: Transparent image as background of a window. How? Pin
Frozzeg12-Nov-11 6:37
MemberFrozzeg12-Nov-11 6:37 

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.