home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / mswindo / programm / misc / 4441 < prev    next >
Encoding:
Internet Message Format  |  1992-12-23  |  1.1 KB

  1. Path: sparky!uunet!digex.com!chander
  2. From: chander@access.digex.com (Chander Raja)
  3. Newsgroups: comp.os.ms-windows.programmer.misc
  4. Subject: Memory allocation problems using Bc++3.1
  5. Date: 23 Dec 1992 06:20:24 GMT
  6. Organization: Express Access Online Communications, Greenbelt, MD USA
  7. Lines: 16
  8. Distribution: world
  9. Message-ID: <1h90f8INNs0c@mirror.digex.com>
  10. NNTP-Posting-Host: access.digex.com
  11.  
  12. I am new to Windows programming and OWL. Till a few days ago, I
  13. had no problems compiling my program under the small memory model.
  14. But as I kept adding more code, the linker would give me 
  15. unfriendly " Segment _TEXT exceeds 64K"s . So I switched to the
  16. large memory model. But now, the program crashes a lot, mostly
  17. in the constructor of a class before executing even a single line of it.
  18. I have traced it to malloc.
  19.  
  20. Is there a problem with Borland's memory management routines under
  21. OWL? I know that they have overloaded the operators new and delete
  22. globally. Has someone tried to overload new and delete using the
  23. global heap? If so please post it.
  24.  
  25. Thanks in advance.
  26. -Chander
  27. chander@access.digex.com
  28.