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

Last reviewed: May 9, 1997
Article ID: Q104179

The information in this article applies to:
  • Microsoft Windows NT operating system version 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 : kbbug3.10 kbinterop kbtool ntutil
Version : 3.1
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: May 9, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.