cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1997/07/22/13:04:12

From: Andrew Crabtree <andrewc AT typhoon DOT rose DOT hp DOT com>
Message-Id: <199707221700.AA044310823@typhoon.rose.hp.com>
Subject: Re: DOS & Win95
To: stockton AT acenet DOT co DOT za (Alf Stockton)
Date: Tue, 22 Jul 1997 10:00:22 PDT
Cc: djgpp AT delorie DOT com
In-Reply-To: <Pine.LNX.3.95.970722164855.99A-100000@localhost>; from "Alf Stockton" at Jul 22, 97 5:59 pm

> 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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019