Lorenzo
2001-09-05 09:48:04 UTC
Hi, all list
I have written this code in a program:
#include <windows.h>
#include <commctrl.h>
.
.
.
INITCOMMONCONTROLSEX icex;
icex.dwSize = sizeof(INITCOMMONCONTROLSEX);
icex.dwICC = ICC_PROGRESS_CLASS;
InitCommonControlsEx(&icex)
.
.
.
When i try to compile with this command:
g++ -mwindows -O3 -c main.cpp
I take this:
main.cpp:57: `INITCOMMONCONTROLSEX' undeclared (first use this function)
I have downloaded all update files, where is the problem?
----------------------------------------------------------------------------
---
If debugging is the process of removing bugs,
then programming must be the process of putting them in.
----------------------------------------------------------------------------
---
I have written this code in a program:
#include <windows.h>
#include <commctrl.h>
.
.
.
INITCOMMONCONTROLSEX icex;
icex.dwSize = sizeof(INITCOMMONCONTROLSEX);
icex.dwICC = ICC_PROGRESS_CLASS;
InitCommonControlsEx(&icex)
.
.
.
When i try to compile with this command:
g++ -mwindows -O3 -c main.cpp
I take this:
main.cpp:57: `INITCOMMONCONTROLSEX' undeclared (first use this function)
I have downloaded all update files, where is the problem?
----------------------------------------------------------------------------
---
If debugging is the process of removing bugs,
then programming must be the process of putting them in.
----------------------------------------------------------------------------
---