[Dev-C++] linker problems with win32 functions...
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: lamont <lam...@ve...> - 2003-02-04 21:34:41
|
Hello, I'm trying to compile some example code and I'm getting the following linker errors with Dev c++. [Linker error] undefined reference to `GetStockObject@4' the code that this refers to is: winclass.hbrBackground = (HBRUSH)GetStockObject (WHITE_BRUSH); Does anyone know where this function is defined?? I had similar problems with the playsound function, but putting "-lwinmm" in the linker options fixed this. |