home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c495 / 5.ddi / WATCM955.ARJ / BUILD.WEX / READ.ME < prev    next >
Encoding:
Text File  |  1993-02-16  |  951 b   |  28 lines

  1. This directory contains a number of Windows programming examples.
  2.  
  3. The code is designed to be compiled using either the WATCOM C16
  4. or WATCOM C32 compiler.
  5.  
  6. If the file build.mif (found in this directory) contains:
  7.     WIN386=1
  8. then 32-bit examples will be built. If it contains:
  9.     WIN386=0
  10. then 16-bit examples will be built.
  11.  
  12. The 32-bit specific code is between the conditional statements
  13. #ifdef __WINDOWS_386__
  14. or 
  15. #ifndef __WINDOWS_386__
  16.  
  17. There are some functions that are for the 32-bit environment
  18. that are macroed away in the 16-bit environment:
  19.  
  20. AllocAlias16 - gets a 16-bit far pointer to some 32-bit memory
  21.            (just returns the pointer in 16-bit code)
  22.            
  23. FreeAlias16  - releases the 16-bit far pointer obtained by AllocAlias16
  24.            (does nothing in 16-bit code)
  25.            
  26. GetProc16    - gets a special 16-bit thunk that points at 32-bit callbacks
  27.            (just returns the callback address in 16-bit code)
  28.