Date: Mon, 1 Jan 2001 10:11:34 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Yoram Hofman , djgpp AT delorie DOT com Subject: Re: Two programs shared memory In-Reply-To: <8582-Sun31Dec2000145809+0200-eliz@is.elta.co.il> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Sun, 31 Dec 2000, I wrote: > > 1) Which function is useful for the purpose? > > __dpmi_allocate_dos_memory. I should add that this advice is for systems other than NT. On NT, __dpmi_free_dos_memory is known to crash the program, so if your program needs to run on NT, it's better to use the DOS memory-allocation functions via __dpmi_int.