delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/23/05:31:27

From: hat AT se-46 DOT wpa DOT wtb DOT tue DOT nl ()
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Interfacing to a MS-Windows application: How ?
Date: 23 Apr 1998 09:09:22 GMT
Organization: Eindhoven University of Technology, The Netherlands
Lines: 53
Message-ID: <6hn0g2$82b@tuegate.tue.nl>
References: <9803238933 DOT AA893359537 AT cressoft DOT comsats DOT net DOT pk>
Reply-To: a DOT hofkamp AT wtb DOT tue DOT nl
NNTP-Posting-Host: se-46.wpa.wtb.tue.nl
Mime-Version: 1.0
Cc: a DOT hofkamp AT wtb DOT tue DOT nl, Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

[Posted and mailed]

In article <9803238933 DOT AA893359537 AT cressoft DOT comsats DOT net DOT pk>,
	"altaf.aali" <altaf DOT aali AT cressoft-khi DOT com DOT pk> writes:
>      
> 
> 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

From that links-page:

Libwin 0.1.1 by Rich Dawe. The aim of the library is to allow DJGPP 
programs to make better use of the Windows environment. Thus, it 
includes clipboard access, user information, version information,
low-level device driver (VxD), DOS box and virtual machine titling and 
registry functionality. GPL.

I remember seeing this lib, but I don't understand what good it does to
me. The things mentioned in this description don't seem useful for my 
problem. (But I may be wrong of course).

Let me give some more details of the type of problems we have regarding 
interfacing with a DJGPP program:

Our DJGPP program is a simulation-program for a factory. Basically, this 
program simulates the behaviour of that factory.
You provide input, and some control-parameters, and the simulation program
produces results.

The simulation program should cooperate with MS-Windows apps, like Excel
and Access. There are 2 types of problems here:

1) Excel should provide input and control-parameters, then start the
   simulation, then after execution read the results and analyse them.
   Excel functions as a front-end before our program in this setup.

   something like 'system("simulation.exe")' will probably work here
   as suggested by Eli Zaretskii (thanks !)

2) The DJGPP simulation-program needs a MS-win app to do some
   calculations for it. For example, we need to lookup a value from a large
   MS-Access data-base (or from an Excel spread-sheet).

   How to do this is not clear to me. Can I use Libwin for this purpose ?


Albert
---
Sorry, no .sig
The sys admin wiped the previous sig, and I haven't invented a new one yet.

- Raw text -


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