Click here to Skip to main content
15,920,438 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Is learning win32 only learning functions in dll? Pin
Andy Moore27-Aug-06 10:08
Andy Moore27-Aug-06 10:08 
GeneralRe: Is learning win32 only learning functions in dll? Pin
Christian Graus27-Aug-06 12:05
protectorChristian Graus27-Aug-06 12:05 
QuestionCreating Vista Style Menus and controls on XP and Windows 2000 Pin
wildbird198126-Aug-06 13:39
wildbird198126-Aug-06 13:39 
AnswerRe: Creating Vista Style Menus and controls on XP and Windows 2000 Pin
Hamid_RT3-Sep-06 9:04
Hamid_RT3-Sep-06 9:04 
QuestionWIN32 Console application colour ? Pin
James Laing26-Aug-06 12:14
James Laing26-Aug-06 12:14 
AnswerRe: WIN32 Console application colour ? Pin
Waldermort26-Aug-06 12:30
Waldermort26-Aug-06 12:30 
GeneralRe: WIN32 Console application colour ? Pin
James Laing26-Aug-06 12:35
James Laing26-Aug-06 12:35 
GeneralRe: WIN32 Console application colour ? Pin
James Brown27-Aug-06 4:26
James Brown27-Aug-06 4:26 
GeneralRe: WIN32 Console application colour ? Pin
James Laing28-Aug-06 1:44
James Laing28-Aug-06 1:44 
GeneralRe: WIN32 Console application colour ? Pin
James Brown28-Aug-06 2:35
James Brown28-Aug-06 2:35 
GeneralRe: WIN32 Console application colour ? Pin
James Laing28-Aug-06 3:54
James Laing28-Aug-06 3:54 
GeneralRe: WIN32 Console application colour ? Pin
James Brown28-Aug-06 4:13
James Brown28-Aug-06 4:13 
GeneralRe: WIN32 Console application colour ? Pin
James Laing28-Aug-06 9:50
James Laing28-Aug-06 9:50 
GeneralRe: WIN32 Console application colour ? Pin
James Brown28-Aug-06 10:39
James Brown28-Aug-06 10:39 
GeneralRe: WIN32 Console application colour ? Pin
James Laing28-Aug-06 11:41
James Laing28-Aug-06 11:41 
GeneralRe: WIN32 Console application colour ? Pin
Laing,James28-Aug-06 11:59
Laing,James28-Aug-06 11:59 
QuestionI hate Unicode!! Pin
Waldermort26-Aug-06 10:24
Waldermort26-Aug-06 10:24 
AnswerRe: I hate Unicode!! Pin
Michael Dunn26-Aug-06 21:27
sitebuilderMichael Dunn26-Aug-06 21:27 
Read the WideCharToMultiByte() docs closer, you'll see that there's a fall back character, which defaults to '?'. This character is inserted in the MBCS string when there is no character in the given codepage that matches the Unicode code point.
I can't tell from your post if WideCharToMultiByte() is doing the conversion right. What could be happening is the program you're using to inspect the strings is doing its own WideCharToMultiByte() and the fallback behavior is happening there, which leads to '?' in the display.


--Mike--
Visual C++ MVP Cool | :cool:
LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ
GeneralRe: I hate Unicode!! [modified] Pin
Waldermort26-Aug-06 22:08
Waldermort26-Aug-06 22:08 
GeneralRe: I hate Unicode!! [modified] Pin
fefe.wyx26-Aug-06 22:24
fefe.wyx26-Aug-06 22:24 
GeneralRe: I hate Unicode!! Pin
Waldermort26-Aug-06 22:48
Waldermort26-Aug-06 22:48 
GeneralRe: I hate Unicode!! Pin
fefe.wyx26-Aug-06 23:33
fefe.wyx26-Aug-06 23:33 
GeneralRe: I hate Unicode!! Pin
Waldermort27-Aug-06 0:27
Waldermort27-Aug-06 0:27 
QuestionRegistry Unicode Problem Pin
lucki_luke26-Aug-06 9:55
lucki_luke26-Aug-06 9:55 
AnswerRe: Registry Unicode Problem Pin
Mike Dimmick26-Aug-06 11:09
Mike Dimmick26-Aug-06 11:09 

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.