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



The information in this article applies to:

  • Microsoft Windows NT Server 3.1
  • Microsoft Windows NT Workstation 3.1
  • Microsoft Windows NT Advanced Server 3.1

This article was previously published under Q104179

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.

Modification Type:MajorLast Reviewed:4/8/2004
Keywords:kbinterop KB104179