Article View: comp.windows.ms
Article #13325Re: Communication between DOS applic's
From: Bill Turner
Date: Mon, 28 Nov 1988 19:04
Date: Mon, 28 Nov 1988 19:04
15 lines
1085 bytes
1085 bytes
>>>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
Technical Details
Message-ID:
<106580003@hpcvlx.HP.COM>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!watmath!clyde!att!rutgers!apple!voder!pyramid!hplabs!hp-pcd!hpcvlx!bturnerReferences:
<344@hurt6.Huji.Ac.IL>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!clyde!att!rutgers!apple!voder!pyramid!hplabs!hp-pcd!hpcvlx!bturner From: bturner@hpcvlx.HP.COM (Bill Turner) Newsgroups: comp.windows.ms Subject: Re: Communication between DOS applic's Message-ID: <106580003@hpcvlx.HP.COM> Date: 28 Nov 88 19:04:09 GMT References: <344@hurt6.Huji.Ac.IL> Organization: Hewlett-Packard Co., Corvallis, OR, USA Lines: 15