Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!rex!rouge!CALLAWAYCJ@EA.USL.EDU From: callawaycj@EA.USL.EDU (C.JamesCallaway) Newsgroups: comp.lang.pascal Subject: Re: SHRINK BEFORE RUNNING A CHILD PROCESS Message-ID: <00949F69.12225740@EA.USL.EDU> Date: 11 Jun 91 15:36:57 GMT References: <11940@j.cc.purdue.edu> Sender: anon@rouge.usl.edu Reply-To: callawaycj@EA.USL.EDU (C.JamesCallaway) Organization: U.S.L. - Home Of The Ragin' Cajuns - Ragin' Roar! Lines: 28 In article <11940@j.cc.purdue.edu>, zhou@brazil.psych.purdue.edu (Albert Q.Zhou) writes: >In Turbo Pascal, the dynamic memory to be used in a program has to be >specified during the compilation by $M. However, when you run a child >program with exec, you can not use any part of the memory already >allocated for the heap even if it is free. Is it a way to get around this? > Maybe This Will Help! _TURBO_PASCAL_INTERNALS_ By Tischer Pub. ABACUS Contains Source For A Unit That Will Free Up Almost All Memory Used By Your Program. When The Child Process Is Executed Your Program Is Saved To Disk (Or Memory If Using VDISK, RAMDISK). After Termination Of The Child A Small Block Of Code Added To The Child Will Install The Saved Program And Execution Picks Up Just Like Normal. Sounds Pretty Useful, I'll Never Have A Need For It! Also In The Book Are Units For Mouse Support, Managing Windows, Writing TSR's, Understanding Interrupts, Multitasking In TP, Using EMS And Extended Memory. -- ############################################################################### # C.JamesCallaway! # CALLAWAYCJ@EA.USL.EDU | FUTURE iMAGE SoftWorks! # # USL P.O. Box 41353 #--------------------------------------------------------# #Lafayette, La 70504 # A Man Can Only Find Peace Within Himself...If He Looks!# ###############################################################################