Bitmaps (BMP) Embedded in Write May Launch 16-bit Paintbrush

ID: Q104179


The information in this article applies to:
  • Microsoft Windows NT 3.1
  • Microsoft Windows NT Advanced Server, version 3.1


SYMPTOMS

After you install Windows NT over an existing version of Windows, if a Bitmap (BMP) file is embedded with OLE in Write, the 16-bit version of Paintbrush may be launched instead of the 32-bit Windows NT version.


CAUSE

The Write accessory included with Windows NT is still a 16-bit Windows application. Windows NT Paintbrush (PBRUSH.EXE) in the SYSTEM32 directory is a 32-bit application. When you open the embedded object, the OLE functionality finds the PBRUSH.EXE in the Windows directory from the upgrade. Because the Client, Server, and OLE Libraries are 16-bit, Windows NT searches the Windows directory and finds the 16-bit version of Paintbrush and launches it.


RESOLUTION

If OLE functionality with Paintbrush is not necessary in Windows 3.0 or 3.2, rename the 16-bit version of Paintbrush (PBRUSH.EXE) in the Windows directory so it will not be found by Windows NT. The icon for Paintbrush in Windows 3.0 and 3.2 can be changed to reflect the new name.

Additional query words: prodnt

Keywords : kbinterop kbtool
Version : winnt:3.1; :3.1
Platform : winnt
Issue type :


Last Reviewed: January 11, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.