Guest:
Register
|
Login
|
Member List
|
Search
|
Statistics
|
FAQ
Language
----------
Simplifed Chinese
Traditional Chinese
English
CnPack Forum
»
CnVCL 组件包
» CnFileSystemWatcher 的问题?
‹‹ Last Thread
|
Next Thread ››
Poll
Trade
Reward
Activity
Printable Version
|
Email to Friend
|
Subscription
|
Favorites
Subject: CnFileSystemWatcher 的问题?
newbie
新警察
UID 42996
Digest Posts 0
Credits 6
Posts 2
点点分 6
Reading Access 10
Registered 2009-8-6
Status Offline
#1
Post at 2009-8-6 11:10
Profile
|
Blog
|
P.M.
CnFileSystemWatcher 的问题?
请问各位达人,我在delphi7、vista 下使用CnFileSystemWatcher 监控某个目录,发现被监控目录中的文件可以被删除,但不能被重命名,操作系统报错“文件正在被使用”,不知何故?
另外:如果拷贝一个文件进入被监控目录,会有add和多条modify的消息,我如何才能最快的判断文件已经完全拷贝完毕,可以打开使用了呢?谢谢!
小帆
普通灌水员
UID 1619
Digest Posts 0
Credits 63
Posts 24
点点分 63
Reading Access 10
Registered 2006-1-4
Status Offline
#2
Post at 2009-8-6 22:36
Profile
|
Blog
|
P.M.
第一个问题你可以更新最新的代码可以解决。
newbie
新警察
UID 42996
Digest Posts 0
Credits 6
Posts 2
点点分 6
Reading Access 10
Registered 2009-8-6
Status Offline
#3
Post at 2009-8-10 00:00
Profile
|
Blog
|
P.M.
谢谢!更新代码后的确可以了。第二个问题只有使用一个线程一直测试新添文件的写许可来获得“拷贝完成”的状态信息。
Poll
Trade
Reward
Activity
CnPack Forum
CnPack English Forum
> CnWizards IDE Wizards
> CVSTracNT
> Announcements & Others
All times are GMT++8, the time now is 2024-11-23 16:37
Powered by
Discuz!
5.0.0
© 2001-2006
Comsenz Inc.
Processed in 0.009503 second(s), 9 queries , Gzip enabled
TOP
Clear Cookies
-
Contact Us
-
CnPack Website
-
Archiver
-
WAP
Member's CP Home
Edit Profile
Credits Transaction
Public User Groups
Buddy List
Main
Page Views
User Agents
Posts History
Top Forums
Top Threads
Post Ranking
Credit Ranking
Online Time
Team
Moderation Stats