Mail Archives: djgpp/1997/07/22/13:04:12
> I have the need to communicate between a 32bit DOS program and a program
> running under native WIN95.
Too bad they don't conform to posix. Where are named pipes and fifos
when you need them.
> 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.
Well - two things come to mind here. Windows has support for sharing
memory between two windows processes. Its possible if you can figure
out where the shared memory is that you could access from DJGPP
though far pointers. Don't know how you would do this though.
The other option would be to allocate dos memory. This way, you would
know the absolute address and should (don't know under windows) be
able to get at it now problem from both.
--
_______ ___________________________________________________________
/ Andrew Crabtree
/ Workgroup Networks Division
____ ___ / Hewlett-Packard
/ / / / Roseville, CA
__/ __/ _____/ 916/785-1675
/ andrewc AT rosemail DOT rose DOT hp DOT com
___________ __/ _____________________________________________________
- Raw text -