Date: Mon, 23 Feb 1998 19:05:07 -0800 (PST) Message-Id: <199802240305.TAA28148@adit.ap.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: Anthony DOT Appleyard AT umist DOT ac DOT uk, DJGPP AT delorie DOT com From: Nate Eldredge Subject: Re: overlaying Precedence: bulk At 08:30 2/23/1998 GMT, Anthony.Appleyard wrote: >How can I tell the DPMI server e.g. that "this program will not call function >int* Han_Solo(int,FILE*,float(int,char)) again, swop that function out now if >you need spare space."? See the function `__dpmi_mark_page_as_demand_paging_candidate', and its associated entry in the DPMI spec. I'm not sure what DPMI servers can be expected to support it, nor the exact mechanism for using it, but it looks like it has the functionality you're looking for. Nate Eldredge eldredge AT ap DOT net