Re: A binary that runs on Win9X and WinNT

From: Michael \(michka\) Kaplan (
Date: Wed Oct 11 2000 - 06:03:05 EDT

Microsoft has a white paper on writing a Unicode app for all platforms, see
the articles section on for details.

Note that applications such as Word, Excel, and Access in Office 2000 use
such a model.


a new book on internationalization in VB at

----- Original Message -----
From: "Lars Marius Garshol" <>
To: "Unicode List" <>
Sent: Wednesday, October 11, 2000 1:53 AM
Subject: A binary that runs on Win9X and WinNT

> Nearly all functions in the Win32 API that use strings have
> wide-string and 8-bit-string versions, but hardly any of the
> wide-string versions are implemented on Win9X.
> When a program uses UTF-16 internally for all text and makes heavy use
> of the Win32 API, how can one make a single binary run on both Win9X
> and WinNT?
> We have considered implementing compatibility versions of the
> wide-string functions that basically map to code-paged text, but this
> seems like an awful lot of work and in any case it seems basically
> incredible that nobody has done this before.
> What is the usual approach to this problem?
> --Lars M.

This archive was generated by hypermail 2.1.2 : Tue Jul 10 2001 - 17:21:14 EDT