Help

I am trying to make a progress bar in win32.
the error is in this code.

1
2
3
4
5
INITCOMMONCONTROLSEX InitCtrlEx;

        InitCtrlEx.dwSize = sizeof(INITCOMMONCONTROLSEX);
        InitCtrlEx.dwICC  = ICC_PROGRESS_CLASS;
        InitCommonControlsEx(&InitCtrlEx);


It tells me some stupid errors.
I have put the correct hearder.

But maybe i have not put the library correct.
I use codeblocks.could help anyone?
Topic archived. No new replies allowed.