Date: Thu, 23 Apr 98 12:25:39 PST From: "altaf.aali" Message-Id: <9803238933.AA893359537@cressoft.comsats.net.pk> To: djgpp AT delorie DOT com, a DOT hofkamp AT wtb DOT tue DOT nl Subject: Re: Interfacing to a MS-Windows application: How ? Precedence: bulk There is a libwin for DJGPP which may provide a solution to your problem. The link to it is at the following page (SET's DJGPP programming links) http://www.geocities.com/SiliconValley/Vista/6552/dlinks.html ______________________________ Reply Separator _________________________________ Subject: Interfacing to a MS-Windows application: How ? Author: a DOT hofkamp AT wtb DOT tue DOT nl at comsats Date: 4/22/98 7:16 PM Hello all, I'd like to interface my DJGPP program with a MS-Windows app. In particular, the DJGPP app should be called from Excel or VB (with some data transferred to the DJGPP program preferably, but I don't mind if that has to be transferred using a file), run for some time (possibly several hours), and then "return" to the MS-app. During the return, data also has to be transferred, but this is potentionally a lot (several MB's), so transfer using a file is not a problem. The big question here is how can this be done. I am pretty good at C++, but am an absolute newbie regarding the programming techniques in MS-Windows, and the 32-bit DPMI interfacing techniques. In other words, I have no idea how to approach this problem regarding the MS-Windows interfacing. I know that a mechanism called DDE exists, but I don't know how to use it in Windows or in DJGPP. I am willing to accept any solution, including the reversal of roles (DJGPP calls the MS-App to provide data, then performs calculations, then calls again to let the App handle the results). Also the change from a DOS-box DJGPP app to a "native" window app is not impossible, if that works (but I don't know how to do that either, so pointers regarding that process are also welcome). If you have pointers to documentation, or web-sites, or actual code, please let me know. Albert --- Sorry, no .sig The sys admin wiped the previous sig, and I haven't invented a new one yet.