Case Study: Porting an MFC Application to Unicode
Intended Audience: |
Manager, Software Engineer |
Session Level: |
Advanced |
The web authoring tool, Microsoft FrontPage, was originally written
to support only US English using MFC by the startup, Vermeer Technologies, Inc.
After its aquisition, FrontPage was then enhanced to support multiple languages
using code pages by Microsoft Corporation. This paper presents the subsequent
conversion of this application to handle Unicode data on all Windows platforms
while still maintaining its use of non-Unicode MFC. We review (1) how Unicode
and non-Unicode messages, windows and data are handled in Windows, (2) the
particular challenges that MFC presents when creating a Unicode application
that needs to also run on Windows 95 and Windows 98 and (3) the solutions
devised to overcome those challenges during this effort.
(R) 'FrontPage' and 'Microsoft' are registered trademarks of Microsoft Corporation.
|