@T-Linght: Thanks for the feedback! I had some problems compiling code on Vista also untill I set the correct permissions on the BLIde and BlitzMax folders, disabled UAC and run everything from an administrator account. but obviously that would also aply to the debug-mode compilation so it sounds to me like a bcc bug. If you're mixing C or C++ code, be sure to have the right version of MinGW. Other than that, I don't know what can be causing this to your code.
EDIT: also disable quick build just in case any .o file is corrupted and causing this.
EDIT: also disable quick build just in case any .o file is corrupted and causing this.