?
Solved

How do I add COMCTL32.LIB in Visual Studio 2005?

Posted on 2006-04-16
2
Medium Priority
?
3,083 Views
Last Modified: 2008-01-09
I want to use a Progress bar in my app. I know I need to add the comctl32.lib.

How do I add this to my linker options in Visual Studio 2005?

Thanks.
0
Comment
Question by:edvinson
2 Comments
 
LVL 86

Accepted Solution

by:
jkr earned 2000 total points
ID: 16464808
The easiest way is to add that in your source like

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

Using the IDE, choose "Add to Project|Files", set the extension to ".lib" in the "File Type" combo box, navigate to where comctl32.lib resides and double-click it.

Or, go to your project options, choose "Linker" and add it to "Additional Libraries".
0
 
LVL 1

Author Comment

by:edvinson
ID: 16465613
got it. thanks.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Windows programmers of the C/C++ variety, how many of you realise that since Window 9x Microsoft has been lying to you about what constitutes Unicode (http://en.wikipedia.org/wiki/Unicode)? They will have you believe that Unicode requires you to use…
Examines three attack vectors, specifically, the different types of malware used in malicious attacks, web application attacks, and finally, network based attacks.  Concludes by examining the means of securing and protecting critical systems and inf…
The goal of this video is to provide viewers with basic examples to understand and use pointers in the C programming language.
The goal of this video is to provide viewers with basic examples to understand and use switch statements in the C programming language.

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question