You could just get Code::Blocks for Windows.

The other option is to write a small wrapper program that does what the Code::Blocks wrapper does (grab return code and execution time and write them...