Hi guys, i ran into my first problem compiling a win32 source. Inside the WinMain function, when I put this call: InitCommonControls();
InitCommonControls();
I run into the following error:
C:\Program Files (x86)\Embarcadero\Dev-Cpp\TDM-GCC-64\x86_64-w64-mingw32\bin\ld.exe C:(...)\AppData\Local\Temp\cc0Bw4Zo.o:Entry.c:(.text+0x77): undefined reference to `__imp_InitCommonControls' C:(...)\collect2.exe [Error] ld returned 1 exit status
C:\Program Files (x86)\Embarcadero\Dev-Cpp\TDM-GCC-64\x86_64-w64-mingw32\bin\ld.exe
C:(...)\AppData\Local\Temp\cc0Bw4Zo.o:Entry.c:(.text+0x77): undefined reference to `__imp_InitCommonControls'
C:(...)\collect2.exe [Error] ld returned 1 exit status
The module is linked by: #include <commctrl.h>
#include <commctrl.h>
Can anyone give me a hint please?
Thanks!
Log in to post a comment.
Hi guys,
i ran into my first problem compiling a win32 source. Inside the WinMain function, when I put this call:
InitCommonControls();
I run into the following error:
The module is linked by:
#include <commctrl.h>
Can anyone give me a hint please?
Thanks!