home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / mswindo / programm / tools / 2226 < prev    next >
Encoding:
Text File  |  1993-01-25  |  1.6 KB  |  39 lines

  1. Newsgroups: comp.os.ms-windows.programmer.tools
  2. Path: sparky!uunet!cs.utexas.edu!asuvax!ncar!csn!rsinc!troy
  3. From: troy@rsinc.com (Troy Cobb)
  4. Subject: Re: Windows 3.1 in a 32-bit flat memory model ?
  5. Message-ID: <C1F792.C9A@rsinc.com>
  6. Sender: news@rsinc.com
  7. Nntp-Posting-Host: 192.160.108.6
  8. Organization: Research Systems, Inc.
  9. References: <1993Jan18.162903.25202@neptune.inf.ethz.ch>
  10. Date: Mon, 25 Jan 1993 17:29:25 GMT
  11. Lines: 26
  12.  
  13. In article <1993Jan18.162903.25202@neptune.inf.ethz.ch> hausner@inf.ethz.ch (Matthias J. Hausner) writes:
  14. >PROBLEM: given a compiler that knows nothing about segmented memory, i.e. can 
  15. >handle 32-bit flat pointers only. Is it possible to develop Windows 3.1 
  16. >applications with such a compiler?
  17. >
  18. >I have read of Microsoft's Win32S and Rational's BigWin. Has anyone experience
  19. >with these kits, or does anybody know of other ways to have Windows 3.1 run in
  20. >a flat memory model? Thanks...
  21.  
  22. The choice we made due to our 32Bit needs in our application is to use
  23. WATCOM's 32 Bit Windows compiler.  Essentially what WATCOM does is allow
  24. you to use 32 bit integers and address into a flat address space by 
  25. binding your application with a "Supervisor" which handles the addressing
  26. issues when you call out to the Windows API.  It is for the most part
  27. invisible to the Developer.  We have had a few problems with this but all-in-all
  28. I have found this to be a much better solution than using the WinMem32 DLL which
  29. does NOTHING for your API calls.  WATCOM uses a DPMI implementation for 
  30. the Flat Memory Management.
  31.  
  32. Hope this helps...
  33.  
  34. Troy Cobb
  35. Engineering
  36. Research Systems, Inc.
  37. troy@rsinc.com
  38.  
  39.