I am attempting to use the Status Bar control.
I get the following error on the code below.
What is the problem?Code:#include <commctrl.h> INITCOMMONCONTROLSEX initCtl; initCtl.dwICC = ICC_BAR_CLASSES; initCtl.dwSize = sizeof(INITCOMMONCONTROLSEX); InitCommonControlsEx(&initCtl); --------------------Configuration: _default - Win32 Debug-------------------- Compiling resources... Compiling... winMain.cpp Linking... winMain.obj : error LNK2001: unresolved external symbol __imp__InitCommonControlsEx@4 Debug/_default.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe. _default.exe - 2 error(s), 0 warning(s)


Reply With Quote