Jump to content
  • Advertisement
Sign in to follow this  
KennithTheMenith

Visual Studio questions

This topic is 5067 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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.

Share this post


Link to post
Share on other sites
Advertisement
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]

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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?

Share this post


Link to post
Share on other sites
Quote:
Original post by Verg
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?


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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!