Platform SDK: Win32 API

About the Thunk Compiler

Writing Win32-based applications provides the following advantages over writing 16-bit Windows-based applications:

Despite these advantages, however, you may have problems porting your application to the Win32 API. For example, when porting your application to take advantage of new system features, you might find you must use features from an existing 16-bit DLL that has not been ported to Win32. Rather than delay the release of your application while waiting for a ported version the 16-bit DLL, you can use the thunk compiler to call the 16-bit DLL from your Win32-based application.