home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / msdos / programm / 9282 < prev    next >
Encoding:
Internet Message Format  |  1992-09-11  |  1.1 KB

  1. Xref: sparky comp.os.msdos.programmer:9282 comp.lang.c:13555
  2. Path: sparky!uunet!mcsun!uknet!pyrltd!bjcong!rkt
  3. From: rkt@bjcong.bj.co.uk (RAKESH TANDON)
  4. Newsgroups: comp.os.msdos.programmer,comp.lang.c
  5. Subject: MicroSoft C6.00 Link option CP
  6. Keywords: CP
  7. Message-ID: <128@bjcong.bj.co.uk>
  8. Date: 11 Sep 92 16:33:48 GMT
  9. Organization: Boldon James Limited (UK)
  10. Lines: 19
  11.  
  12. Hi,
  13.     I'm tring to write a LARGE MODEL C program which uses alot of memory
  14. which it gets via malloc/calloc. I'm interested in anyone who has used the Link
  15. option CP to reduce the amount of memory the program needs to load.
  16.  
  17. I'm not sure how it can help me but (using exehdr) when I reduced the 'max
  18. paragraphs wanted' to 'min paragraghs needed' plus 0x20 I was able to
  19. allocate more memory.
  20.  
  21. The manual states that with Link option of CP:1 will give me no near heap,
  22. do I need any near heap in a large model program? and if not how can this
  23. help me allocate more memory from the far heap?
  24.  
  25.             Thankyou
  26. -- 
  27. Rakesh Kumar Tandon          :  email - rkt@bj.co.uk
  28. Boldon James Limited         :  phone - 0260 280465
  29. Damian House, West Street    :  fax   - 0260 298030
  30. CONGLETON, Cheshire          :
  31.