home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / mswindo / programm / win32 / 3129 < prev    next >
Encoding:
Text File  |  1993-01-28  |  1.2 KB  |  32 lines

  1. Newsgroups: comp.os.ms-windows.programmer.win32
  2. Path: sparky!uunet!microsoft!hexnut!johnhall
  3. From: johnhall@microsoft.com (John Hall)
  4. Subject: Re: Memory management from Unix to Win32
  5. Message-ID: <1993Jan27.001545.25245@microsoft.com>
  6. Date: 27 Jan 93 00:15:45 GMT
  7. Organization: Microsoft Corporation
  8. References: <1993Jan23.041808.15461@netcom.com>
  9. Lines: 18
  10.  
  11. In article yikes@netcom.com (Michael Brill) writes:
  12. | As far as the UI goes, I'm not going to worry about now.  What I
  13. | am worried about is memory management.  I've scanned through the
  14. | Windows docs and understand how memory management works there
  15. | (getting handle, locking, operating, unlocking) and I'm looking
  16. | for an established scheme to make the port seamless between Unix
  17. | and Windows/Mac.
  18. | Does targeting Win32 make life any easier for me?
  19.  
  20. With Win32, just use malloc() and free() ignoring all the other
  21. Windows management stuff (so yes, it makes life much easier).
  22. BTW: LocalAlloc() and LocalFree() are identical to malloc() and
  23. free() on Windows 32 systems.
  24.  
  25.  
  26. -- 
  27. -------------------------
  28. My comments are my own.  They are independent and unrelated to the
  29. views of my company , relatives or elected representatives.
  30.  
  31.