Click here to Skip to main content
15,887,392 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionWCHAR Pin
asdtry5-Feb-07 17:37
asdtry5-Feb-07 17:37 
AnswerRe: WCHAR Pin
Christian Graus5-Feb-07 17:41
protectorChristian Graus5-Feb-07 17:41 
AnswerRe: WCHAR Pin
asdtry5-Feb-07 17:49
asdtry5-Feb-07 17:49 
QuestionRe: WCHAR Pin
asdtry5-Feb-07 17:56
asdtry5-Feb-07 17:56 
AnswerRe: WCHAR Pin
Christian Graus5-Feb-07 18:09
protectorChristian Graus5-Feb-07 18:09 
QuestionRe: WCHAR Pin
Waldermort5-Feb-07 18:39
Waldermort5-Feb-07 18:39 
GeneralRe: WCHAR Pin
asdtry5-Feb-07 19:14
asdtry5-Feb-07 19:14 
GeneralRe: WCHAR Pin
Waldermort5-Feb-07 19:22
Waldermort5-Feb-07 19:22 
I see. The choose either a UNICODE or ANSI build and make good use of MultiByteToWideChar() and WideCharToMultiByte(). Another point to note is with the TCHAR macros, VS defines _UNICODE but TCHAR expects UNICODE. Add this before your #include <tchar.h>

#ifdef _UNICODE<br />
#define UNICODE<br />
#endif

GeneralRe: WCHAR Pin
asdtry5-Feb-07 19:28
asdtry5-Feb-07 19:28 
GeneralRe: WCHAR Pin
Waldermort5-Feb-07 19:54
Waldermort5-Feb-07 19:54 
GeneralRe: WCHAR Pin
asdtry5-Feb-07 21:57
asdtry5-Feb-07 21:57 
GeneralRe: WCHAR Pin
jhwurmbach5-Feb-07 22:18
jhwurmbach5-Feb-07 22:18 
GeneralRe: WCHAR Pin
Waldermort5-Feb-07 23:05
Waldermort5-Feb-07 23:05 
QuestionHelp about adding controls dynamically. How ? Pin
Sakthiu5-Feb-07 17:30
Sakthiu5-Feb-07 17:30 
AnswerRe: Help about adding controls dynamically. How ? Pin
_AnsHUMAN_ 5-Feb-07 18:06
_AnsHUMAN_ 5-Feb-07 18:06 
AnswerRe: Help about adding controls dynamically. How ? Pin
Hamid_RT5-Feb-07 19:49
Hamid_RT5-Feb-07 19:49 
AnswerRe: Help about adding controls dynamically. How ? Pin
ThatsAlok6-Feb-07 19:58
ThatsAlok6-Feb-07 19:58 
QuestionComparing two strings, works in debug, fails in release Pin
Anthony Mushrow5-Feb-07 16:39
professionalAnthony Mushrow5-Feb-07 16:39 
AnswerRe: Comparing two strings, works in debug, fails in release Pin
User 5838525-Feb-07 16:47
User 5838525-Feb-07 16:47 
GeneralRe: Comparing two strings, works in debug, fails in release Pin
Anthony Mushrow5-Feb-07 16:58
professionalAnthony Mushrow5-Feb-07 16:58 
GeneralRe: Comparing two strings, works in debug, fails in release Pin
jhwurmbach5-Feb-07 22:57
jhwurmbach5-Feb-07 22:57 
AnswerRe: Comparing two strings, works in debug, fails in release Pin
ThatsAlok6-Feb-07 19:59
ThatsAlok6-Feb-07 19:59 
GeneralRe: Comparing two strings, works in debug, fails in release Pin
Anthony Mushrow7-Feb-07 2:17
professionalAnthony Mushrow7-Feb-07 2:17 
QuestionFunction nesting error Pin
dellthinker5-Feb-07 13:43
dellthinker5-Feb-07 13:43 
AnswerRe: Function nesting error Pin
Mark Salsbery5-Feb-07 13:48
Mark Salsbery5-Feb-07 13:48 

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.