473,400 Members | 2,163 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,400 software developers and data experts.

VC++ include/library custom directory settings?

Hi,

I've used VC++ 6 for my previous C++ work and am having a little trouble
acclimating to VS .Net 2003, mainly in establishing where to look for
additional header and library files. I'm creating a console app and need to
include a few custom headers, as well as a library file, from my hard drive.
I've
used .Net 2003 for C# projects often enough, but never C++.

Should I go to Project--->Properties, choose the Linker folder, then
manually add the directory with my .lib file in the "Additional Library
Directories" section of the property page? Or is there a better way to do
it? I'm used to seeing a list of directories and adding mine at the bottom,
with up and down arrows that allow me to choose the order of the directories
for the linker to search in. VC++ old-timers know what I'm referring to.
Is the way I outlined above the standard procedure for doing this now?

That's for linking. I'm not sure how to add new include directories. There
is an "Additional Include Directories" section in the general C++ property
page, which looks similar to the linker's section. But I don't see how I
can arrange the order of the include directories after adding my own.

So, general confusion all around. If you could point me in the right
direction I'd appreciate it. Thanks.

Feb 6 '06 #1
1 2387
Hello Jim,
Should I go to Project--->Properties, choose the Linker folder, then
manually add the directory with my .lib file in the "Additional Library
Directories" section of the property page? Or is there a better way to do
it? I'm used to seeing a list of directories and adding mine at the
bottom,
with up and down arrows that allow me to choose the order of the
directories
for the linker to search in. VC++ old-timers know what I'm referring to.
Is the way I outlined above the standard procedure for doing this now?
You can either do it like you described, in the poject settings, or you can
select
tools->options, then select projects->VC++ directories
and configure the different directories.
Doing it in tools makes it global to all solutions and projects.
Personally i prefer to set those things in the project properties, because
then
they become part of the project, and you don't need to reconfigure them if
you reinstall your pc.
It also makes it easier if someone else wants to compile your project
(assuming they installed the different SDKs in the same folder of course)
That's for linking. I'm not sure how to add new include directories.
There
is an "Additional Include Directories" section in the general C++ property
page, which looks similar to the linker's section. But I don't see how I
can arrange the order of the include directories after adding my own.

The same story goes for include folders if you click in the 'Additional
Include Directories'
field in you project properties, you'll see a small button with 3 '.'s.
If you click that, you'll get a dialog box with a list in which you can edit
the include paths and their order.

--

Kind regards,
Bruno.
br**********************@hotmail.com
Remove only "_nos_pam"
Feb 6 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Paul Ohmart | last post by:
I want to use xerces c++, binary release 2_3_0, on W2k with VC++ 6.0. The header files in the include directory all use include statements of the form: #include <xercesc/util/XercesDefs.hpp>. The...
2
by: 50295 | last post by:
Hi - I program in C++ but I'm not good with VC++ (yet). I will like to create a custom project for which a specific template or wizard does not exist. Because the program is a console...
7
by: MrNobody | last post by:
I was a Java developer so I'm used to using property files as a means to keep configuration settings for my apps. I'm wondering what options are there with ..NET? Some settings I want to include...
4
by: Alex | last post by:
Hi there I'm switching from VC++ 6.0 to VC++ .NET 2003. Since there is no stand-alone version of VC++ .NET 2003 Pro, I went and purchased the Standard version, which does not have an...
2
by: Qiao Yun | last post by:
I used vc++.net (visual studio .net ) to open a project which can work well in vc++6.0. I succeeded in compiling the project in vc++.net in release mode . But when I tried to compile the project...
3
by: SHC | last post by:
Hi all, 1) I have used VC++.NET 2002 (v7.0) for a while. Recently I just installed VC++.NET 2003 (v7.1) - I saw the message "Settings were not migrated from Visual Studio.NET 2002 to Visual...
8
by: Edward Diener | last post by:
By reuse, I mean a function in an assembly which is called in another assembly. By a mixed-mode function I mean a function whose signature has one or more CLR types and one or more non-CLR...
4
by: nmrcarl | last post by:
I'm trying to upgrade a large project from VS 6.0 to VS 2005. After fixing a lot of things that changed (mostly sloppy coding in the original project that VS2005 didn't allow), I got the release...
7
by: saee | last post by:
hi, i am trying qt with visual studio. hello world program. here are the errors. >Performing Makefile project actions 1>'mingw32-make' is not recognized as an internal or external command,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.