From: "A. Sinan Unur" Newsgroups: comp.os.msdos.djgpp Subject: Re: file system change notification Date: 28 Aug 2001 02:43:54 GMT Organization: Cornell University Lines: 37 Sender: asu1 AT cornell DOT invalid (on slip-32-102-40-50.ny.us.prserv.net) Message-ID: References: <9md8v7$n7c$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> NNTP-Posting-Host: slip-32-102-40-50.ny.us.prserv.net X-Trace: news01.cit.cornell.edu 998966634 21629 32.102.40.50 (28 Aug 2001 02:43:54 GMT) X-Complaints-To: usenet AT news01 DOT cit DOT cornell DOT edu NNTP-Posting-Date: 28 Aug 2001 02:43:54 GMT User-Agent: Xnews/4.06.22 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hans-Bernhard Broeker wrote in news:9md8v7$n7c$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE: > A. Sinan Unur 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/