home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / sdk / win32s / ut / samples / utsample / readme.txt < prev    next >
Encoding:
Text File  |  1995-07-11  |  1.1 KB  |  24 lines

  1. This sample shows how to use Universal Thunks to call APIs that are not
  2. supported directly by Win32s. It also demonstrates how to set up a callback
  3. from the 16-bit side to the 32-bit side. Right now, this function does nothing,
  4. it is simply there to show how this might be done.
  5.  
  6. This sample detects at run time if it's running under Win32s or Windows NT,
  7. then checks to see if the APIs it calls are supported or not. If they are
  8. not supported, the application will call the appropriate 16-bit APIs via
  9. Universal Thunks.
  10.  
  11. This sample contains 16-bit code, therefore 16-bit development tools (not
  12. included in the Win32 SDK or MSVCNT) are required. The included makefile for
  13. the 16-bit code, makefile.16, assumes Microsoft Visual C/C++, but it should be
  14. easily adaptable to other compilers.
  15.  
  16. This sample requires some components from the \win32s\ut directory from your
  17. Win32 SDK or MSVCNT CD. In particular the W32SUT.h needs to go in the project
  18. directory or a directory in the INCLUDE path. W32SUT32.Lib and W32SUT16.Lib
  19. need to go in a directory in the LIB path.
  20.  
  21.  
  22. Lee Hart
  23. Microsoft Developer Support
  24.