The information in this article applies to:
SYMPTOMSWhen 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.
WORKAROUNDA workaround is to split the resources to more than one module. STATUSThis behavior is by design. MORE INFORMATION
xxxx .rsrc where xxxx is the size of the resource data section. However, this does not provide any information on the 16-bit resource table described earlier. The resource table size can be calculated as follows (in bytes):
The result of the calculation should be less than 32K. If a resource is specified in several languages, count it only once in N2. Additional query words: 1.30 win32s
Keywords : |
Last Reviewed: March 10, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |