yeah I tried rebooting
and I am using visual c++ 2008.
Weird thing is that I have a pretty much an identical setup at work - windows xp, codeblocks 10.05,visual studio 2008 and when I open up the exact same project on that system - no problem at all.
I also have not set up a proper debugger on either system (so I cannot set breakpoints etc), but that hasnt affected things before.
Also note that this problem only happened a few days ago, it was working fine for a week before. So maybe I inadvertenly changed a global codeblocks setting that broke this all...but the compiler/linker configuration has remained constant (and working) throughout
cheers