User forums > Help

Strange error (win32 API)

<< < (3/3)

MortenMacFly:

--- Quote from: seel on February 02, 2007, 06:36:11 pm ---.objs\mdi_unit.o:mdi_unit.cpp:(.text+0x2d0): undefined reference to `InitCommonControls@0'

--- End quote ---
For the future: If you google on stuff like that you will usually catch a million pages that describe what to do. If stuff like this happens (and you are obviously developing for Win32), you can also refer to the MSDN. There the InitCommonControls method is described next to the information what *header files* (the compiler) and what *library files* (the linker) to be used with it.
Look for example here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/commctls/common/functions/initcommoncontrols.asp
I hope this will help at some point sooner or later... ;-)
With regards, Morten.

Navigation

[0] Message Index

[*] Previous page

Go to full version