I'm trying to use the common controls. To start with I'm InitCommonControlsEx'ing, but that's not working.
That function is undefined at the linking stage. I presume winegcc doesn't link by default to comctl32.dll, so I -lcomctl32.dll but when I do that it seg faults at startup with err:heap:HEAP_GetPtr Invalid heap (nil).
It does this even if I comment out the call to InitCommonControlsEx. The program starts fine if I don't like to comctl32.dll. What am I doing wrong?
Thanks
Chris Seaton
On Mon, 16 Feb 2004, Chris Seaton wrote:
That function is undefined at the linking stage. I presume winegcc doesn't link by default to comctl32.dll, so I -lcomctl32.dll but when I
You should pass -lcomctl32 instead.