473,569 Members | 2,751 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2393
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************* *********@hotma il.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
4379
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 sample projects have all these header files listed in the "External Dependencies" directory of the project. Clearly "<xercesc/..." is the...
2
1510
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 application, I started out with the Win32 Console Project template. Having done that, the problem is that my application uses a custom header files and...
7
5974
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 are like a root directory for a target program on the user's machine my app uses, which they would be prompted to supply at startup. Normally the...
4
1892
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 optimizing compiler. I have been made aware of the existence of the VC++ Toolkit 2003: http://msdn.microsoft.com/visualc/vctoolkit2003/
2
5724
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 in debug mode, the following errors happened: d:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xdebug(29): error C2365: 'new' :...
3
1595
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 Studio,NET 2003" during the installation. Do I have to do the migration of the "Settings" if I want to use the both versions of VC++.NET in the...
8
2302
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 types. The problem: I have a number of mixed-mode functions which I want reuse. These functions revolve around converting a CLR String to a C++...
4
6237
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 version to build successfully. Unfortunately, it crashes right away when I start it. So now I need to build the debug version. Unfortunately, the...
7
8020
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, 1>operable program or batch file. 1>Project : error PRJ0002 : Error result 1 returned from 'C:\WINDOWS\SysWow64\cmd.exe'. 1>Build log was saved at...
0
7694
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7921
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7964
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5504
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5217
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3651
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
2107
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1208
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
936
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.