Hi there,
I am making a status bar for a win32 application and I've run into some problems. I recently started using VC++ Express Edition 2008 and when I compile my program I get this error message...
I've included commctrl.h in my program so the cause of this error must be because I haven't included the comctl32.lib. How do I do this? I saw one solution which requires entering a pragma comment to load that library but some people on this forum have said this is not desirable. I would like to do it the proper way. I can pull up my projects properties menu by going to Properties >> "project name" Properties but I don't know what to do from there since VC++ is new to me (I was using Dev C++). Microsoft SDK is installed and I can see the comctl32.lib file in the Microsoft SDK lib folder in my Program Files directory. I guess I need to include this somehow but I'm not sure how. Can someone tell me how to do this?Code:main.obj : error LNK2019: unresolved external symbol __imp__InitCommonControlsEx@4 referenced in function _WinMain@16