PSS ID Number: 150617
Article Last Modified on 3/15/2004
The information in this article applies to:
- Microsoft Win32s 1.30a
- Microsoft Win32s 1.3
This article was previously published under Q150617
SYMPTOMS
When a 32-bit application is initialized or a DLL file is loaded, Win32s
dynamically creates a 16-bit resource table. Because some of the 32-bit
functions that handle resources, such as LoadIcon and LoadMenu, are thunked
to the 16-bit side, Windows 3.1 uses this table to handle the resources.
This table contains information on all the 32-bit resources that have been
converted to the 16-bit form for use by Windows.
CAUSE
There is a limitation in Windows 3.1 that the 16-bit resource table created
by Win32s cannot exceed 32K. If this 16-bit table limit is exceeded, the
debug version of Win32s generates the following assertion failure when the
application is initialized.
"OFFSETOF(pResWrite) < 0xfffc" or "OFFSETOF(pResWrite) < 0xfffe"
WORKAROUND
A workaround is to split the resources to more than one module.
STATUS
This behavior is by design.
Additional query words: 1.30 win32s
Keywords: KB150617
Technology: kbWin32s130 kbWin32s130a kbWin32sSearch