Debugging Universal Thunks

Last reviewed: November 2, 1995
Article ID: Q105756
The information in this article applies to:
  • Microsoft Win32s versions 1.0, 1.1, and 1.2

The general recommendation for an application targeted for Win32s is to debug it under Windows NT, then make sure that the application works under Win32s. However, Universal Thunks are not supported on Windows NT, so it is not possible to debug Win32-based applications that use the Universal Thunk in this manner.

To debug across the Universal Thunk, you can use WDEB386, which is available with the Windows 3.1 Software Development Kit (SDK). If you are not familiar with WDEB386, you may find it simpler to use other methods. In that case, be sure to install the debug version of Windows 3.1 and the debug version of Win32s and enable suitable notifications for Win32s (unimplemented functions and messages, verbose, and so forth). You may find OutputDebugString() useful for displaying extra information.

For more information on WDEB386, please see the Knowledge Base article "Tips On Installing WDEB386." For information on installing the debug version of Windows, please see your Windows SDK documentation.


Additional reference words: 1.00 1.10 1.20
KBCategory: kbprg
KBSubcategory: W32s


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: November 2, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.