Mail Archives: djgpp/1998/04/22/09:30:40
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.
336/robcstf.htm
Any help appreciated.
Regards,
Robin Burrows.
- Raw text -