VB.net exe的奇怪行为 - vs2005

时间:2011-04-22 23:47:37

标签: vb.net

Ran ProcMon然后运行我的vb.net exe。

看到我没有明确打电话的步骤

PML文件的一个例子是

Thread : 4248
class  : File System
Operation : CreateFile
Result: SUCCESS
Path  : C:\Documents and Settings\Admin

Desired Access: Read Data/List Directory, Synchronize
Disposition:    Open
Options:    Directory, Synchronous IO Non-Alert, Open For Backup
Attributes: n/a
ShareMode:  Read, Write, Delete
AllocationSize: n/a
OpenResult: Opened

然后是

Thread : 4248
    class  : File System
    Operation : QueryDirectory
    Result: SUCCESS
    Path  : C:\Documents and Settings\Admin

0:  .
1:  ..
2:  .ezlm20jk
3:  Application Data
4:  Cookies
5:  Desktop
6:  Favorites
7:  Local Settings
8:  My Documents
9:  NetHood
10: NTUSER.DAT
11: ntuser.dat.LOG
12: ntuser.ini
13: PrintHood
14: Recent
15: SendTo
16: Start Menu
17: Templates

并查看整个驱动器的此类日志...

这似乎会减慢启动应用程序的速度......

1 个答案:

答案 0 :(得分:0)

尝试检查您是否在ProcMon中正确设置了指向可执行文件的过滤器,否则ProcMon将收集所有系统事件。