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