| |
| | How To Debug Flat Thunks |
 | | If the linker reports an "unresolved external" error and the symbol is a function name that is spelled consistently throughout all source code, module definition files, and the thunk script, make sure that all occurrences of its prototype are consistent. |
 | | On the Win32 side, the thunk function must be declared with the __stdcall type; on the Win16 side, the function must be declared with the PASCAL type. |
 | | On the Win16 side, thunked pointers always consist of a single selector with a limit of 64K, which means you cannot use them as huge pointers. |
| support.microsoft.com /default.aspx?scid=kb;en-us;133722 (2159 words) |
|