Article View: borland.public.cppbuilder.nativeapi
Article #10983Notifications about network file system changes
From: nicolasr
Date: Tue, 02 Mar 2004 21:00
Date: Tue, 02 Mar 2004 21:00
31 lines
1911 bytes
1911 bytes
Hi, I have to observe creation and changes of files in specific directories throughout a small network. The computers to observe run Win98/2000/XP. Locally I used SHChangeNotifyRegister() to observe one directory. I think this also works locally on a Win98 system but the function is not documented for Win98 and one has to use GetProcAddress() etc. My questions: What options do I have to implement this? Can SHChangeNotifyRegister() be used across the network? I thought about writing small clients that are installed on the computers to be observed and use SHChangeNotifyRegister() to listen to changes on the particular system. The clients could then send a notification to the computer with the server program. What is a good way to send information like a list of file names to a program on another computer? I haven't worked with WMI too much but would that be an option? (Assuming that the program that observes the other machines (including Win98) runs Win2000) thanks for any ideas, Nick
Technical Details
Message-ID:
<4044f5f3@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,ef129302d6165368,start X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2004-03-02 13:11:02 PST From: "nicolasr" <nicolasrNOSPAMATSIGNgmx.net> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Notifications about network file system changes Date: Tue, 2 Mar 2004 22:00:33 +0100 Lines: 34 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 80.133.163.126 Message-ID: <4044f5f3@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1078261235 80.133.163.126 (2 Mar 2004 13:00:35 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail