How do I link with import libraries in Code::Blocks with MinGW.
I would have done that in MSVC++ like this: #pragma comments (lib,"winmm32.lib) . But how do I do this in Code::Blocks?
#pragma comments (lib,"winmm32.lib) is a non-standard MS hack job. The real way to link libraries is to tell your linker which libraries you want to link against.