"Todd C. Gleason" <tgleason_at_impac.com> wrote on 03/04/2009 11:41:21 AM:
> It's been awhile, and there may be better/newer ways to do this but:
> And a functional example provided by someone else:
> (I haven't looked at this example, it is just what google found for me)
> This does require an "active process/thread" to monitor for
> changes, where I believe the OSX stuff can be queried when
> you are interested in the change list...
> Kevin R.
> After doing a little search of my own? I think the codeproject sample
> the ReadDirectoryChangesW API described at
Yep. Copy and paste error on my part. I was also looking at a few of
the other articles you mentioned below...
> And yes, I gather this requires having a dedicated thread. I don?t see
> as a problem myself, but there is an alternative: it looks like you can
> use FindFirstChangeNotification and FindNextChangeNotification.
> There?s an example at
> that describes this (actually it describes both approaches), though its
> sample code is confusing. Perhaps a better code sample is at
> codeproject.com/KB/system/FolderWatch.aspx . And it appears to have a
> described at http://support.microsoft.com/kb/188321 where, if you are
> watching a network folder, you need to make sure you have extra
> If I were implementing this, I?d read the codeguru sample briefly, look
> the directorychangewatcher sample from codeproject (which seems to
> simpler API), and talk with the TortoiseSVN folks to see what code could
> leveraged directly from there, as well as what problems they may have
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-03-04 18:48:26 CET