|
|
1.1 ! root 1: This sample shows how to use Universal Thunks to call APIs that are not ! 2: supported directly by Win32s. ! 3: ! 4: This sample detects at run-time if it's running under Win32s or Windows NT, ! 5: and checks to see if the APIs it calls are supported or not. If they are ! 6: not supported, it will call (via Universal Thunks) the appropriate 16 bit APIs. ! 7: ! 8: Since this sample uses 16 bit code, you will need a 16 bit compiler (not ! 9: included in the Win32 SDK). The included makefile.16 uses Microsoft C/C++ ! 10: version 7.0, but it should be easily adaptable to other compilers. ! 11: ! 12: Also, you will need to get some components from the \mstools\win32s\ut ! 13: directory from your Win32 SDK CD-Rom. In particular the W32sUT.h needs ! 14: to go in %mstools%\h (and also in a directory in the INCLUDE path for ! 15: your Win16 development environment.) W32sUT32.Lib needs to go in ! 16: %mstools%\h and W32sUT16.Lib needs to go in a directory in the LIB ! 17: path for your Win16 development environment. ! 18: ! 19: Questions or comments about this Win32s sample are welcomed in the ! 20: API-Win32s section (Section 14) of the MSWIN32 forum on Compuserve. ! 21: ! 22: Lee Hart ! 23: Microsoft Developer Support
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.