Click here to Skip to main content
15,918,706 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: MFC help PLEASE!! Pin
Bob Ciora3-Feb-05 11:35
Bob Ciora3-Feb-05 11:35 
GeneralRe: MFC help PLEASE!! Pin
messin183-Feb-05 17:28
messin183-Feb-05 17:28 
GeneralRe: MFC help PLEASE!! Pin
Bob Ciora4-Feb-05 1:44
Bob Ciora4-Feb-05 1:44 
GeneralRe: MFC help PLEASE!! Pin
messin187-Feb-05 10:38
messin187-Feb-05 10:38 
GeneralUsing hot key to play CD with Hook !?! Pin
TTT812-Feb-05 14:13
TTT812-Feb-05 14:13 
QuestionWhy I was rejected so much with following resume ? Pin
vgrigor12-Feb-05 13:43
vgrigor12-Feb-05 13:43 
AnswerRe: Why I was rejected so much with following resume ? Pin
Bob Ciora2-Feb-05 14:11
Bob Ciora2-Feb-05 14:11 
GeneralRe: Why I was rejected so much with following resume ? Pin
vgrigor12-Feb-05 14:27
vgrigor12-Feb-05 14:27 
GeneralRe: Why I was rejected so much with following resume ? Pin
Anthony_Yio2-Feb-05 23:19
Anthony_Yio2-Feb-05 23:19 
GeneralRe: Why I was rejected so much with following resume ? Pin
vgrigor13-Feb-05 0:06
vgrigor13-Feb-05 0:06 
Generalmath puzzle Pin
ghostpirate72-Feb-05 13:26
ghostpirate72-Feb-05 13:26 
GeneralRe: math puzzle Pin
Bob Ciora2-Feb-05 13:43
Bob Ciora2-Feb-05 13:43 
GeneralPerformance Testing Pin
LighthouseJ2-Feb-05 12:56
LighthouseJ2-Feb-05 12:56 
GeneralRe: Performance Testing Pin
Bob Ciora2-Feb-05 13:28
Bob Ciora2-Feb-05 13:28 
GeneralRe: Performance Testing Pin
LighthouseJ2-Feb-05 13:30
LighthouseJ2-Feb-05 13:30 
GeneralRe: Performance Testing Pin
Bob Ciora2-Feb-05 13:44
Bob Ciora2-Feb-05 13:44 
GeneralLink in RichEditCtrl Pin
merkit2-Feb-05 12:48
merkit2-Feb-05 12:48 
GeneralPrivate inheritance question Pin
marinme2-Feb-05 12:03
marinme2-Feb-05 12:03 
GeneralRe: Private inheritance question Pin
Bob Ciora2-Feb-05 12:48
Bob Ciora2-Feb-05 12:48 
GeneralConverting DBCS to Unicode Pin
RYU^^2-Feb-05 11:37
RYU^^2-Feb-05 11:37 
GeneralRe: Converting DBCS to Unicode Pin
Anthony_Yio2-Feb-05 23:26
Anthony_Yio2-Feb-05 23:26 
GeneralRe: Converting DBCS to Unicode Pin
RYU^^3-Feb-05 11:26
RYU^^3-Feb-05 11:26 
GeneralRe: Converting DBCS to Unicode Pin
Anthony_Yio3-Feb-05 15:40
Anthony_Yio3-Feb-05 15:40 
GeneralRe: Converting DBCS to Unicode Pin
RYU^^3-Feb-05 17:34
RYU^^3-Feb-05 17:34 
GeneralRe: Converting DBCS to Unicode Pin
Anthony_Yio3-Feb-05 19:29
Anthony_Yio3-Feb-05 19:29 
You can use the IsDBCSLeadByteEx(20290, yourByte);

Iterate each one of your bytes.

For normal
0x43 and 0xA4 (means, it is separated), you can just use your

dwSize= MultiByteToWideChar(IBMCodePage , MB_PRECOMPOSED , (const char*)byteEBCDIC, 2, wchBytes, 1024);

For 0x43 and 0xA4 that is meant to be together, by using IsDBCSLeadByteEx to check, you should be able to know if it is or not.

Then, use your own conversion. (means write a special function to deal with such case).

hope this help.





Sonork 100.41263:Anthony_Yio

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.