1
A
回答
4
This是我的等值的Win32 API ReadDirectoryChangesW最佳示例代碼一點經驗。在以前的工作中,我們在生產代碼中使用了這種派生方法,並取得了良好的結果。
很難正確編碼到這個API - 我會重新使用它,如果可以的話。
相關問題
- 1. C#:filesystemwatcher類
- 2. C#幫助 - FileSystemWatcher類
- 3. FileSystemWatcher類
- 4. c#filesystemwatcher和backgroundworker
- 5. FileSystemWatcher的:多個類型
- 6. FileSystemWatcher中的FileNotFoundException
- 7. FileSystemWatcher類中的Windows身份驗證
- 8. C# - FilesystemWatcher,MDB文件和MySQL
- 9. C#FileSystemWatcher鎖文件夾
- 10. 如何調試FileSystemWatcher c#
- 11. FileSystemWatcher C#服務名稱
- 12. C#:FileSystemWatcher僅派發ChangedEvent
- 13. C#FileSystemWatcher嚴重問題?
- 14. FileSystemWatcher C#權限問題
- 15. Windows服務w/FileSystemWatcher在C#
- 16. FileSystemWatcher類 - 簡單問題
- 17. FileSystemWatcher類 - 排除目錄
- 18. 在C#中使用FileSystemWatcher時HttpContext.Current爲空
- 19. FileSystemWatcher
- 20. FileSystemWatcher
- 21. FileSystemWatcher的事件不觸發C#
- 22. 在HFS +文件系統上的c#FileSystemWatcher
- 23. C# - FileSystemWatcher的啓用定時器
- 24. FileSystemWatcher的陷阱
- 25. 交給FileSystemWatcher的
- 26. LastWrite在FileSystemWatcher中的NotifyFilter
- 27. FileSystemWatcher ArgumentException
- 28. FileSystemWatcher InternalBufferOverflow
- 29. C#跟隨文件夾路口與FileSystemWatcher
- 30. 如何使用FileSystemWatcher使用asp.net(C#)
是否有任何命令行選項可用於此程序? – Tamzin 2011-06-16 18:30:51
請參閱「控制檯應用程序」一文中的部分。在編寫應用程序時,您可以使用提到的'CDirectoryChangeWatcher'類,然後在應用程序中實現必需的命令行選項。 – 2011-06-16 18:36:42