delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/03/01/10:42:15

Date: Tue, 1 Mar 94 08:50:14 -0600
From: Paul Bramel <paulbr AT comm DOT mot DOT com>
To: r_bock AT frust1 DOT star DOT bosch DOT de
Cc: DJGPP AT SUN DOT SOE DOT CLARKSON DOT EDU
Subject: Re: Communication between djgpp-applications and Windows-application

>>>>> "Rene" == Rene Bock <r_bock AT frust1 DOT star DOT bosch DOT de> writes:

    Rene> Hi!  I have to realize the communication between an
    Rene> djgpp-application and a Windows-application (a Windows dll,
    Rene> compiled with MC Visual C -- to be more precise). The two
    Rene> applications exchange data of some 100 bytes, rather
    Rene> frequently.

    Rene> My first approach used the DOS-filesystem to perform the
    Rene> data exchange.  But this turned out to be v e r y s l o w.

    Rene> Now, what can I do next?  I think about two things:

    Rene> 1.  use of common memory.

    Rene> 2.  use of DDE.

    Rene> 3.  link a djgpp library with a Windows application (or
    Rene> dll).


    Rene> Now my questions:

    Rene> a) Is it possible to realize one of the approaches mentioned
    Rene> obove?

    Rene> b) If it is, how can it be done?

    Rene> c) If not, are there any other possibilities to reach my
    Rene> goal?


    Rene> 	 Rene'


I believe you can access the Windows clipboard through DPMI services.
PC Magazine had a series of articles about it about a year and a half
ago.  I think it was presented along with one of their utilities.

Paul Bramel
paulbr AT comm DOT mot DOT com




- Raw text -


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