Hi all,
Problem 1: I need to determine if a given DOS program is running (only know
the .exe name, lets say wp.exe (while in fact it is not wp...)) and get a
handle to it.
Problem 2: I need to send keys to the above mentioned DOS program to
simulate keystrokes. (Althoug the program is a DOS program, simply stuffing
the keyboard buffer won't do in this case.) All this to make the program
automatically perform a task, since it doesn't have features like macro's
(Yes, the program sucks, but it holds an entire patient administration at
my work).
All programs must run on a W95 and/or NT platform (at work).
I do my programming in D1 (W3.10) (at home, no W95 yet).
Anyone got some solutions.
Thanx in advance,
Bart.
--------------------------------------
Bart Broersma
broersma@knmg.nl
* Wave Rider 1.20 [NR] *
... UNREGISTERED EVALUATION COPY
--- Wave Rider v1.20
---------------
* Origin: Aargh! BBS Amsterdam (2:280/606)
|