I accidentally ran codeblocks in a sandbox created by sandboxie. And suddenly, sandboxie complain about failing to put a huge file at the root drive(F:) into the sandbox,which suggested that codeblocks tried to open an unnecessary file with write access.
So I hooked the CreateFileW api hoping to find out what files does codeblocks open during its startup time. According to the log file, codeblocks would open all the files under root drive to write. I didnot check whether codeblocks tried to write something to the opened files or not.
The problem is caused by File Manager Plugin, and could be fixed by simply disabling it.
PS, I was also suprising to find that the file resources.zip was opened 315 times!
extra infomation:
tested version: 12.11 RC2
OS: Windows Embedded Standard 7 chinese
installed directory: f:\ide\codeblocks
some part of the log fiile:
22:36:30 40000000 1 F:\test1
22:36:30 40000000 1 F:\test2.doc
22:36:30 40000000 1 F:\test3.avi
22:36:30 40000000 1 F:\test4.txt
22:36:30 1 1 F:\
(40000000 means GENERIC_WRITE, and the folling 1 means open the file successfully)
[attachment deleted by admin]