Path: utzoo!utgpu!watmath!clyde!att!rutgers!mailrus!ames!xanth!nic.MR.NET!umn-cs!Charlie
From: Charlie@umn-cs.CS.UMN.EDU (Charles Anderson)
Newsgroups: comp.windows.ms
Subject: Re: Communication between DOS applic's
Message-ID: <10290@umn-cs.CS.UMN.EDU>
Date: 1 Dec 88 18:37:45 GMT
References: <344@hurt6.Huji.Ac.IL> <106580003@hpcvlx.HP.COM>
Reply-To: caa@MIdgard.MN.ORG (Charles Anderson)
Organization: The Midgard Realm, St Paul, MN
Lines: 21

In article <106580003@hpcvlx.HP.COM> bturner@hpcvlx.HP.COM (Bill Turner) writes:
|>>>Does anyone know of a way to pass data between two DOS applications
|>>>running under win/386 ?
|>>Answer: disk files and extreme care with timing.
|
|>Better yet, if your going to use disk files for 1k chunks, just have one of
|>the programs allocate a communications structure, and write the value of the
|>pointer (absolute segment, and offset) to the clipboard, or a disk file, and
|>then write all your stuff there.  --
|
|Better yet, allocate a block of shared memory and pass the handle on the
|clipboard.  If you pass a pointer that isn't to shared memory (allocated
|with GMEM_SHARE), then it isn't guaranteed to work, especially if you have
|bank-switching enabled.
|
|--Bill Turner

The question is relating to DOS applications running under win/386 and I was
assuming that he didn't have the SDK since he was only writing dos 
applications.
--
Charlie Anderson - caa@midgard.mn.org