Visual Studio questions
Hi,
I have been using *nix based systems for the past few years and want to move some of my work over to Windows.
1) I have "Microsoft Development Environment 2002 7.0.9466" installed but am having some issues getting code to compile, specifically large numbers of template classes. As far as I can tell, this is an issue with VC++ and there has been a big improvement with VC++ Toolkit .NET 2003 (version 1.01, which is also VC++ version 7.1.something??), which I can download from MS, who claim it works 'alongside' Visual Studio. Can I download this, install it and use it within my current installation of Visual Studio? Am I going to have to buy the lastest VS to get the benefits of the IDE and compiler?
2) (General Question) What is going on with .dll .lib (and .def) files? I appear to be building against .lib and running with a .dll?
Sorry if these are really obvious, finding clear explanations feels a bit like swimming in porridge and I am feeling a little disorientated.
1) Considering you already have VS 7.0 (a.k.a 2002), you can try and download the VS 7.1 (a.k.a 2003 toolkit). I assume it will work (I have 2003 so I haven't tried). Playing witht the path settings in the IDE (and possibly environment variables) may do the trick without overwriting the 2002 stuff (look at the IDE's command line options, there may be things you can toggle there) .
2) In windows, you don't directly link to dynamic libraries (.dll). You link against import libraries (.lib). Part of the confusion comes from the fact that there are two types of .lib files, actual static libraries containing code, and import libraries that just forward to the DLL. You can generally tell the difference from the size alone [smile]
2) In windows, you don't directly link to dynamic libraries (.dll). You link against import libraries (.lib). Part of the confusion comes from the fact that there are two types of .lib files, actual static libraries containing code, and import libraries that just forward to the DLL. You can generally tell the difference from the size alone [smile]
I have a question too: how do I give typedef's and my own datatypes color, in VS.NET2003?
User's Keywords doesn't work for me.
User's Keywords doesn't work for me.
Quote:Original post by Pipo DeClown
I have a question too: how do I give typedef's and my own datatypes color, in VS.NET2003?
User's Keywords doesn't work for me.
I don't know, I use Visual Assist.
in VS6 usertypes.dat in the vs\vc\bin\ dir or something ( search this file name out in the help files... sry )
you would define your datatype names in this file... and then
the usertypes option for formating changes the color of the
names listed in the document.
you would define your datatype names in this file... and then
the usertypes option for formating changes the color of the
names listed in the document.
Quote:Original post by Fruny
I don't know, I use Visual Assist.
As do I. If you can afford it Pipo, it's great. Try it out free for 30 days here.
Thanks Fruny
1) Appears to be working by inserting the appropriate paths through Tools | Options | Projects | VC++ Directories
2) "there are two types of .lib files"
OOOOOOOoooooooooooooooo......plink!
The penny drops.
1) Appears to be working by inserting the appropriate paths through Tools | Options | Projects | VC++ Directories
2) "there are two types of .lib files"
OOOOOOOoooooooooooooooo......plink!
The penny drops.
Quote:Original post by Pipo DeClown
I have a question too: how do I give typedef's and my own datatypes color, in VS.NET2003?
User's Keywords doesn't work for me.
This doesn't work for you?
Quote:Original post by VergQuote:Original post by Pipo DeClown
I have a question too: how do I give typedef's and my own datatypes color, in VS.NET2003?
User's Keywords doesn't work for me.
This doesn't work for you?
Dude, I don't want to add every class/struct I wrote in a txtfile. I'm talking about the automatic thingee. I guess Visual Assist offers that.. Hmm..
Thanks anyway. It's here too.
Quote:Original post by KennithTheMenith
1) I have "Microsoft Development Environment 2002 7.0.9466" installed but am having some issues getting code to compile, specifically large numbers of template classes. As far as I can tell, this is an issue with VC++ and there has been a big improvement with VC++ Toolkit .NET 2003 (version 1.01, which is also VC++ version 7.1.something??), which I can download from MS, who claim it works 'alongside' Visual Studio. Can I download this, install it and use it within my current installation of Visual Studio? Am I going to have to buy the lastest VS to get the benefits of the IDE and compiler?
Just overwrite cl.exe and link.exe in your vc7 folder with the new compiler / linker. It works flawlessly, but the new command line switches for optimization, like /G7 and /arch:SSE require manually entering on the "advanced" line of the properties dialog.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement