开发者

strange behaviour of VB.net exe - vs2005

Ran ProcMon and then ran my vb.net exe.

Saw steps that I am not calling explictly

an example from the PML file is

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

Desired Access: Read Data/List Directory, Synchronize
Disp开发者_如何学Cosition:    Open
Options:    Directory, Synchronous IO Non-Alert, Open For Backup
Attributes: n/a
ShareMode:  Read, Write, Delete
AllocationSize: n/a
OpenResult: Opened

and this is followed by

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

and see such logs for entire drive...

This seems to slow the launch the application...


Try checking that you have correctly set up a filter in ProcMon pointing to your executable, otherwise ProcMon will collect all system events.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜