Library Function

BlitzMax Forums/BlitzMax Programming/Library Function

Hi!
There is the function "InitCommonControlsEx" defined in the library libcomctl32.a (I've found the string with notepad).

SuperStrict

Framework PUB.Win32

Extern "Win32"
	Function InitCommonControlsEx:Int(lpInitCtrls:Byte Ptr)
End Extern

Global InitControls : TINITCOMMONCONTROLSEX

InitControls = New TINITCOMMONCONTROLSEX
InitControls.dwSize = SizeOf(TINITCOMMONCONTROLSEX)
InitControls.dwICC  = ICC_BAR_CLASSES ..
                      | ICC_PROGRESS_CLASS ..
                      | ICC_TREEVIEW_CLASSES

DebugLog InitCommonControlsEx(InitControls)


[...]undefined reference to `InitCommonControlsEx@4'


Width Extern "", Extern "comctl32", Extern "libcomctl32.a" it doesn't work too.

Any idea?

cu olli