Solved

Visual C++ Path setting

Posted on 2003-11-03
3
446 Views
Last Modified: 2013-12-14
Hi,

How to set path for external library files , header files,dll files in Visula C++ for a particular project ?.

I have downloaded IBM ICU C package library and tries to run a sample using that .

But when building , " unresolved external symbol _ucnv_open_2_6" error thrown .But this ucnv_open() function is available in the IBM ICU library.

And in compilation , i didnt get any errors.

Any help appreciated much

Regards,
Yasin
0
Comment
Question by:expertyasin
3 Comments
 
LVL 48

Accepted Solution

by:
AlexFM earned 20 total points
ID: 9676428
Project - Settings - C++ - Preprocessor (select from Category combo box) - Additional include directories

Add here directories to search h-files in this project.


Project - Settings - Link - Input (select from Category combo box) - Additional library path.

Add here directories to search lib files.

There is no way to add directories to search Dll for specific programs. The rule is the same for all programs: when program is loaded, all it's Dll's should be found in current directory, program executable directory, Windows, System directory or available through PATH environment variable.
0
 
LVL 5

Expert Comment

by:dennis_george
ID: 9676466
hi,

 Go to  Tools --> Option Then a tab control will appear.....

In this there will be a Tab named "Directories" select that Tab
There will be a combo box with many options select Library  from that option and
 add the PATH of your library files that......

Hope this will help you.....

Dennis
0
 

Author Comment

by:expertyasin
ID: 9729598
how to close this thread ?.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Summary: This tutorial covers some basics of pointer, pointer arithmetic and function pointer. What is a pointer: A pointer is a variable which holds an address. This address might be address of another variable/address of devices/address of fu…
This is a short and sweet, but (hopefully) to the point article. There seems to be some fundamental misunderstanding about the function prototype for the "main" function in C and C++, more specifically what type this function should return. I see so…
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use for-loops in the C programming language.
The goal of this video is to provide viewers with basic examples to understand opening and reading files in the C programming language.

911 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now