From: Weiqi Gao Newsgroups: comp.os.msdos.djgpp Subject: Re: DOS & Win95 Date: Wed, 23 Jul 1997 01:11:48 -0500 Organization: Spectrum Healthcare Services Lines: 20 Message-ID: <33D5A0A4.F14E7CF0@a.crl.com> References: NNTP-Posting-Host: a116018.stl1.as.crl.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Alf Stockton wrote: > > I have the need to communicate between a 32bit DOS program and a program > running under native WIN95. I wish to pass data contained within a struct > between the two processes. > My thought was 1st to use a file ........ but this is too slow. > Next thought was if I could allocate memory in one or other of the > processes and pass a pointer to this memory, containing the struct, from > one process to another. > Problem is I don't know how to do this. > Any help or suggestions would be gratefully accepted. You can recompile your 32-bit DOS program with RSXNTDJ 1.3.1 + DJGPP 2.01. The result is a Win32 program, and as such you can use the Win32 IPCs (memory mapped files, anonymous pipes, named pipes, winsock, DDE, OLE, COM and DCOM, maybe even ActiveX :) ). -- Weiqi Gao weiqigao AT a DOT crl DOT com