home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / mswindo / programm / win32 / 2414 < prev    next >
Encoding:
Text File  |  1992-12-12  |  1.6 KB  |  48 lines

  1. Newsgroups: comp.os.ms-windows.programmer.win32
  2. From: chris@chrism.demon.co.uk (Chris Marriott)
  3. Path: sparky!uunet!pipex!demon!chrism.demon.co.uk!chris
  4. Subject: Re: Port from WIN3.X -> WIN32 
  5. Distribution: world
  6. References: <strobl.724160213@gmd.de>
  7. Organization: None
  8. Reply-To: chris@chrism.demon.co.uk
  9. X-Mailer: Simple NEWS 1.90 (ka9q DIS 1.19)
  10. Lines: 33
  11. Date: Sat, 12 Dec 1992 18:32:23 +0000
  12. Message-ID: <724185143snz@chrism.demon.co.uk>
  13. Sender: usenet@demon.co.uk
  14.  
  15. In article <strobl.724160213@gmd.de> strobl@gmd.de writes:
  16.  
  17. >Howdy,
  18. >General interest question.  
  19. >       A - How is the port between WIN3.x -> WIN32 ?
  20.  
  21. >               1 - What types of changes are required ?
  22. >               2 - Any personal Experiences ??
  23. >
  24. >
  25. -- 
  26.  
  27. Probably the best way to start out the port of the code is:
  28.  
  29. 1.   Set the STRICT flag and get the code to compile without warning
  30.      messages on the /W3 level.
  31.  
  32. 2.   Read the documentation for "windowsx.h" and start using the
  33.      "message cracker" macros instead of the normal "switch" statement
  34.      in your message loop.
  35.  
  36. When you've done these two things, and you can build your application for
  37. Windows 3.1 without warnings. the port to Win32 should be a straighforward
  38. process.
  39.  
  40.  
  41. --------------------------------------------------------------------------
  42. | Chris Marriott                   | chris@chrism.demon.co.uk            |
  43. |                                  | BIX: cmarriott                      |
  44. | (Still awaiting inspiration      | CIX: cmarriott                      |
  45. |  for a witty .sig .... )         | Compuserve: 100113,1140             |
  46. --------------------------------------------------------------------------
  47.  
  48.