Mar 7th, 2001, 08:15 PM
#1
Thread Starter
Fanatic Member
error LNK2001: unresolved external symbol __imp__InitCommonControls@0
I was trying to compile the source of the text editor at winprog.org, but this happened. Can anyone please tell me what it is and how I can fix it?
Alcohol & calculus don't mix.
Never drink & derive.
Mar 7th, 2001, 08:32 PM
#2
Frenzied Member
Try in the CPP file:
#include <commctrl.h>
and be sure to add commctrl.lib in the project settings...
good luck!
Jop -
validweb.nl
Alcohol doesn't solve any problems, but then again, neither does milk.
Mar 7th, 2001, 08:34 PM
#3
PowerPoster
what you should do is go to file->new, select win32 application, then create a new c/c++ source file. Paste the code from winprog into this file. then compile. This works for me.
US AUS AUS AUS AUS AUS A USAUSAUSAUSAUSAUSAUSA
USA USA USA USA USA USA USAUSAUSAUSAUSAUSAUSA
US AUS AUS AUS AUS AUS A USAUSAUSAUSAUSAUSAUSA
USA USA USA USA USA USA USAUSAUSAUSAUSAUSAUSA
US AUS AUS AUS AUS AUS A USAUSAUSAUSAUSAUSAUSA
USA USA USA USA USA USA USAUSAUSAUSAUSAUSAUSA
US AUS AUS AUS AUS AUS A USAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
Mar 7th, 2001, 08:44 PM
#4
Thread Starter
Fanatic Member
Ok jop, I did that, but now I get:
LINK : fatal error LNK1104: cannot open file "commctrl.lib"
So, I still don't know what to do.
Sail, that is what I am (was) doing, but it still won't work.
Alcohol & calculus don't mix.
Never drink & derive.
Mar 8th, 2001, 10:55 AM
#5
Frenzied Member
Do have commctrl.lib listed in your linked library list?
MSVS 6, .NET & .NET 2003 Pro
I HATE MSDN with .NET & .NET 2003!!!
Check out my sites:
http://www.filthyhands.com
http://www.techno-coding.com
Mar 8th, 2001, 08:26 PM
#6
Thread Starter
Fanatic Member
I searched my hard drive and there doesn't seem to be a commctrl.lib file....
Alcohol & calculus don't mix.
Never drink & derive.
Mar 9th, 2001, 11:05 AM
#7
Frenzied Member
Ahhh.....I see, there is only one m in the name. Its called comctrl.lib.
MSVS 6, .NET & .NET 2003 Pro
I HATE MSDN with .NET & .NET 2003!!!
Check out my sites:
http://www.filthyhands.com
http://www.techno-coding.com
Mar 11th, 2001, 08:05 PM
#8
Thread Starter
Fanatic Member
I searched, I don't have a comctrl.lib file either.
Alcohol & calculus don't mix.
Never drink & derive.
Mar 12th, 2001, 11:03 AM
#9
Frenzied Member
Attached Files
MSVS 6, .NET & .NET 2003 Pro
I HATE MSDN with .NET & .NET 2003!!!
Check out my sites:
http://www.filthyhands.com
http://www.techno-coding.com
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Click Here to Expand Forum to Full Width