Mail Archives: djgpp/2001/08/27/11:53:56
On Mon, 27 Aug 2001, Eli Zaretskii wrote:
>
> On 26 Aug 2001, A. Sinan Unur wrote:
<snip>
> Alas, AFAIK there's no way for a DOS program to plug itself into the
> Windows file operations chain. I don't know about any functionality
> which could allow a DOS program to register a callback for
> file-oriented activities.
I guess I wasn't clear. I am not interested in plugging into the Windows
file operations chain. Rather, I am curious about if I can create similar
functionality by chaining into DOS interrupts even when not running under
Windows. I think it is easier to go with the Windows solution and use
cygwin for this task.
> You could, of course, write a VxD that would export such a service,
> but I doubt that you had that in mind when you asked your question.
you are right :)
> What exactly do you want to do in this program? That is, assuming you
> know some file was created or deleted, what would the program do with
> that info? (It's possible that the general problem cannot be solved
> with DJGPP, but some specific problem can.)
I have a bunch of programs running on different machines generating data
on a network drive. I wanted a program on a "monitor" computer to watch
these data files, and process them when they were done.
Thanks for your response.
Sinan.
--
----------------------------------------------------------
A. Sinan Unur
mailto:sinan AT unur DOT com
http://unur.com/sinan/
- Raw text -