PDA

Click to See Complete Forum and Search --> : compiler problems - VS6


sk8o
Oct 25th, 2002, 10:12 AM
i get this error, i have just reinstalled vs6, before it worked!!!!

Compiling resources...
Compiling...
nb.cpp
Linking...
nb.obj : error LNK2001: unresolved external symbol __imp__InitCommonControls@0
Debug/iuiuyiuy.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

iuiuyiuy.exe - 2 error(s), 0 warning(s)


visual studio 6 running on windows xp

thanks for any help as its getting extremly infuryating, i have played with option's and looked around google !

CornedBee
Oct 25th, 2002, 10:55 AM
You need to list commctrl.lib in the import library section.

Or maybe it has some other name, comctl32.lib or something like that.

sk8o
Oct 25th, 2002, 10:56 AM
well i suppose my dumbness might help others :D

if you get this error make sure the libary comctl32.lib is included as InitCommonControls(); needs it :)

sk8o
Oct 25th, 2002, 10:56 AM
lol thanks CornedBee u must have been typing at the same time as me :)