您可以使用SysInternale/Microsoft的ProcessMonitor來調查.exe
的創建。運行procmon.exe
並添加「路徑」「包含」(您的exe名稱),然後「包含」的過濾器。
在我的環境編譯t.pas
了:
12:09:58,1927245 DCC32.EXE 3596 CreateFile C:\tmp\t.exe SUCCESS Desired Access: Generic Write, Read Attributes, Disposition: OverwriteIf, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: N, ShareMode: None, AllocationSize: 0, OpenResult: Overwritten
12:09:58,1928116 DCC32.EXE 3596 CreateFile C:\tmp\t.exe SUCCESS Desired Access: Read Attributes, Synchronize, Disposition: Open, Options: Synchronous IO Non-Alert, Complete If Oplocked, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult: Opened
12:09:58,1928281 DCC32.EXE 3596 QueryFileInternalInformationFile C:\tmp\t.exe SUCCESS IndexNumber: 0x46b00000000c296
12:09:58,1928376 DCC32.EXE 3596 CloseFile C:\tmp\t.exe SUCCESS
12:09:58,1961352 DCC32.EXE 3596 WriteFile C:\tmp\t.exe SUCCESS Offset: 0, Length: 19 968
....
也許是在dcc32
錯誤?
什麼版本的Windows,什麼樣的sp級別,以及你有什麼A/V軟件?禁用A/V不是ev如果要用一些品牌的A/V軟件來修復它,那麼在我不相信它沒有破壞你的應用程序之前,它們將不得不被徹底刪除。 – 2011-03-16 12:19:46