Click here to Skip to main content
15,899,124 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
GeneralRe: Converting DBCS to Unicode Pin
RYU^^3-Feb-05 19:50
RYU^^3-Feb-05 19:50 
Hi Anthony,

Thanks again for replying. It is greatly appreciated Smile | :)

EBCDIC uses Shift-Out (0x0E) / Shift-in (0x0F) to identify the start and the end of double byte. Therefore, IsDBCSLeadByteEx(...) will not work. eg. In EBCDIC for double byte 0x43 0xA4, the byte sequence will be:
------------------------------------------
|   0x0E    |  0x43  |  0xA4  |   0x0F   |
------------------------------------------
| Shift Out | Byte 1 | Byte 2 | Shift In |
------------------------------------------


I have tried to use the IsDBCSLeadByteEx(20290, yourByte); and it doesn't work. Therefore, MultiByteToWideChar() will think it is single byte since IsDBCSLeadByteEx(20290, yourByte); will return false. Frown | :(

Any other idea? Please help... I am really despreate. If I can't solve this problem soon, I guess I will use the documentation provided by IBM and do manual mapping.

To all masters... Please help...

Thanks...
GeneralClipboard functions Pin
TeresaPrice2-Feb-05 7:44
TeresaPrice2-Feb-05 7:44 
GeneralRe: Clipboard functions Pin
BlackDice2-Feb-05 10:43
BlackDice2-Feb-05 10:43 
GeneralShifting Text in Visual C++ Text Editor Pin
K. Shaffer2-Feb-05 6:13
K. Shaffer2-Feb-05 6:13 
GeneralRe: Shifting Text in Visual C++ Text Editor Pin
bluerider2-Feb-05 6:35
bluerider2-Feb-05 6:35 
GeneralRe: Shifting Text in Visual C++ Text Editor Pin
K. Shaffer2-Feb-05 7:30
K. Shaffer2-Feb-05 7:30 
GeneralRe: Shifting Text in Visual C++ Text Editor Pin
alex.barylski2-Feb-05 11:27
alex.barylski2-Feb-05 11:27 
GeneralRe: Shifting Text in Visual C++ Text Editor Pin
Ryan Binns2-Feb-05 17:30
Ryan Binns2-Feb-05 17:30 
GeneralRe: Shifting Text in Visual C++ Text Editor Pin
alex.barylski6-Feb-05 11:10
alex.barylski6-Feb-05 11:10 
GeneralWanted: VS colorer add-in sources Pin
yuri_g2-Feb-05 4:41
yuri_g2-Feb-05 4:41 
GeneralRe: Wanted: VS colorer add-in sources Pin
S Douglas2-Feb-05 19:09
professionalS Douglas2-Feb-05 19:09 
GeneralBinary Files Pin
mcsherry2-Feb-05 3:54
mcsherry2-Feb-05 3:54 
GeneralRe: Binary Files Pin
David Crow2-Feb-05 5:37
David Crow2-Feb-05 5:37 
GeneralRe: Binary Files Pin
mcsherry3-Feb-05 5:01
mcsherry3-Feb-05 5:01 
QuestionFind location of program. Check registry? Pin
ChemmieBro2-Feb-05 3:03
ChemmieBro2-Feb-05 3:03 
AnswerRe: Find location of program. Check registry? Pin
David Crow2-Feb-05 3:18
David Crow2-Feb-05 3:18 
GeneralRe: Find location of program. Check registry? Pin
ChemmieBro2-Feb-05 3:25
ChemmieBro2-Feb-05 3:25 
GeneralRe: Find location of program. Check registry? Pin
David Crow2-Feb-05 3:35
David Crow2-Feb-05 3:35 

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.