I'm having a problem with getting current directory information onto a Win98
machine from a WinXP machine.
I have a program that I wrote that opens a networked directory and looks for
files that have been put there by a 3rd app. My program is supposed to grab
the files as they appear and then start another process and when that
process finishes, delete the file from the network directory.
The initial start up of the program works fine - it opens the directory and
sees the files, process them, deletes them and then goes into a loop waiting
for new files to show up. The program works fine on another WinXP machine
but the Win98 machine seems to fail to register that there has been any
change to the network directory. I can only suppose that the Directory
information retrieved is never refreshed (even though the program loop does
a new GetDirectory each cycle).
I assume that the problem is that Win98 is not updating the local directory
structure (the network directory is a mapped drive) or at least not making
the data available to the current thread my program is running on.
Is there any way to force Win98 (registry hack or otherwise) to refresh the
directory information?
Thanks in advance
--
Paul Rubiola
|