Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

InitCommonControls error of Hell

Status
Not open for further replies.

XerxesTheMighty

Programmer
Jun 15, 2003
72
US
I write my whole code out:
InitCommonControls(); works like the devil on my progam.
I include the header file, I did all the defining possible and it gives me an external funciton link error (therefore not compiling).
So I go troting off to
and find a code with it in it---it runs perfectly fine.
so I backup my code data and replace it with their code---it gives an error. So I replace my code into their code--same external error. (I've checked all my source code and it matches the other guys with all that InitCommonControls stuff)
What is going on?
I think my harddrive is corrupt-because my visually created dialog boxes, do not work any more (like the Close button is there but it doesn't work, you can't resize it, you can't move it, it moves all the content all the way down(so it cuts off half of it),etc.)




--------------
"I am a master of Suggestionism and Imperfectionism, bugs and errors are mine!"-this is an original statement by ME:
Xerxes Dynatos
 
add comctl32.lib manually to the list of .lib files in your project

Ion Filipski
1c.bmp

ICQ: 95034075
AIM: IonFilipski
filipski@excite.com
 
you can add lib files on the fly by typing:

#pragma comment(lib, "comctl32.lib")

that way when you copy source code around it will still work even if its not in the same project with the same linkages.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top