Mail Archives: djgpp/2001/08/27/22:45:35
Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de> wrote in
news:9md8v7$n7c$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE:
> A. Sinan Unur <asu1 AT cornell DOT edu> wrote:
>
>> I can do this in Windows using the code snippet included at the
>> bottom of this post. However, I would like to use djgpp. I am assuming
>> there is no similar API in the libraries, and hence I should chain
>> some DOS interrupts. (I could sit in a tight loop reading directory
>> contents but I could miss some creations/deletions if they happen
>> rapidly).
>
> I have serious doubts that DJGPP would be the right tool for this
> particular task. It may even be completely impossible, depending upon
> the type of environment you're targetting.
Agreed. To clarify, what I have are a number of computers where a number of
participants in an experiment will be making decisions. These decisions
generate data, and those data get saved on a network drive. So I wanted to
have a program that monitored this directory for new data files.
I have what I need under windows, and have code running compiled with
cygwin. I was just curious if there was a possibility I could do a similar
thing in DOS. This would have served as a way of increasing my
understanding of chaining interrupts and other related matters.
All in all, that does not seem practical for all the reasons you and Eli
have mentioned.
Thanks for your comments.
Sinan.
--
--------------------------------
A. Sinan Unur
http://www.unur.com/
- Raw text -