I used -mwindows in the GCC C++ Compiler - misc flag section. Same errors occurred.

   Bringing -mwindows down to the linker in: Project | Properties | MinGW C++ Linker | Miscellaneous | Linker Flags field... fixed the problem. The program compiled and ran fine.

Thanks...
>> From: Earnie Boyd <earnie@us...> - 2012-06-12 15:24