Mail Archives: djgpp/1997/07/23/09:18:21
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
- Raw text -