Path: chuka.playstation.co.uk!news From: "George Bain" Newsgroups: scee.yaroze.programming.gnu_compiler Subject: Re: Malloc question Date: 29 Jul 1998 19:37:25 GMT Organization: SCEE Lines: 28 Message-ID: <01bdbac4$8be46780$f2e832a2@gbain.wav.scee.sony.co.uk> References: <35BE29A5.9A848CA5@infotrade.co.uk> <35BF432F.B4C2A7BD@hinge.mistral.co.uk> NNTP-Posting-Host: mailgate.scee.sony.co.uk X-Newsreader: Microsoft Internet News 4.70.1155 Hi there, If you wish to use any of the memory routines you must call InitHeap() first. Therefore to set a region of free memory for dynamic memory allocation routines call InitHeap() once only. >InitMalloc() eh er ??? ???? Regards, George@SCEE Craig Graham wrote in article <35BF432F.B4C2A7BD@hinge.mistral.co.uk>... > Ian Thompson wrote: > > > Hi, > > > > Can you define the memory pool (from this address to that address) that malloc uses to a certain area of memory? > > You have to in fact (check InitMalloc() ).