CnPack Forum


 
Subject: CnFileSystemWatcher能否监视多个目录?
小帆
普通灌水员
Rank: 2



UID 1619
Digest Posts 0
Credits 63
Posts 24
点点分 63
Reading Access 10
Registered 2006-1-4
Status Offline
Post at 2009-7-16 08:52  Profile | Blog | P.M. 
CnFileSystemWatcher能否监视多个目录?

各位好!
我想问一下:
CnFileSystemWatcher能否监视多个目录?
例如:
c:\123
d:\abc
Top
solokey
新警察
Rank: 1



UID 30253
Digest Posts 0
Credits 28
Posts 12
点点分 28
Reading Access 10
Registered 2007-11-2
Status Offline
Post at 2009-7-17 13:04  Profile | Blog | P.M. 
创建2个组件,然后指向一个事件就是了..
Top
小帆
普通灌水员
Rank: 2



UID 1619
Digest Posts 0
Credits 63
Posts 24
点点分 63
Reading Access 10
Registered 2006-1-4
Status Offline
Post at 2009-7-19 17:08  Profile | Blog | P.M. 
动态建立 CnFileSystemWatcher 不能释放;

表现为:
CnFileSystemWatcher.Free 后,监视依然存在!!
Top
 




All times are GMT++8, the time now is 2024-11-22 14:28

    本论坛支付平台由支付宝提供
携手打造安全诚信的交易社区 Powered by Discuz! 5.0.0  © 2001-2006 Comsenz Inc.
Processed in 0.008306 second(s), 9 queries , Gzip enabled

Clear Cookies - Contact Us - CnPack Website - Archiver - WAP