(C) Copyright IBM Corp. 1991, 1995. All rights reserved.
Version Notice
About this book
Other information to help you
Terms used in this guide
Notation used in this guide
Overview
Where do you need to support DBCS?
What is the IBM DBCS OS/2?
Differences between SBCS OS/2 and DBCS OS/2
Variation of DBCS OS/2
Setting up an environment for DBCS support
OS/2 Programming Tools V2.1 and its utilities
Dialog Editor
Resource Complier
IPFC (Information Presentation Facility Compiler)
IBM C/C++ Tool V2.x
C Compiler
C Runtime Library
PM Debugger
Other utilities
How to make your Application DBCS-Enabled?
Recognizing DBCS OS/2 from your program
Determining DBCS Environment Vector
Determining runtime code page and country code
Preparing for DBCS input
Adding a status line to a window
Allowing a user to perform on-the-spot conversion
Processing DBCS input from a keyboard
Processing DBCS strings
Handling two bytes as a double-byte character
Preparing for DBCS output
Finding available fonts on DBCS OS/2
Calculating the window coordinate
Using Font Dialog control
Preparing a table for PS/55 DBCS printers
Preparing MRI (Machine Readable Information)
Isolating MRI
Determining a national language for MRI
Fitting your dialog windows into PM screen
Putting mnemonics for DBCS languages in your resources
Using common graphical characters in the country/language
Setting up country-unique formats for output
Preparing help text
Preparing icons
Exchanging data with Host software
Converting ASCII DBCS to EBCDIC DBCS
TrnsDt
WinCpTranslateString
Using EHLLAPI
Supported code pages on OS/2 V2.1