VC 6 can't find mspdb60.dll

Posted on 2006-11-14
Medium Priority
Last Modified: 2010-10-05
I installed VS 6 on a Windows 2003 server, but the C compiler or CL.exe cannot find mspdb60.dll, although it's there. Also, is it it ok to use VC 6 on a Windows 2003 server?
Question by:jjv001
LVL 86

Accepted Solution

jkr earned 800 total points
ID: 17938762
You'll need to execute 'vcvars32.bat' from the ('VC98\bin' directory) which will adjust the PATH, INCLUDE and LIB environment variables so you can use cl.exe from the command line.

>>Also, is it it ok to use VC 6 on a Windows 2003 server?

It is a bit unusual, but OK.
LVL 14

Assisted Solution

wayside earned 400 total points
ID: 17939097
On my VC++ 6.0 installation, mspdb60.dll is in the VB98 directory, which is not added into any of the paths in vcvars32.bat.

Sp you will have to edit vcvars32.bat and add it yourself, or copy it to somewhere that the compiler already knows about.
LVL 39

Assisted Solution

itsmeandnobodyelse earned 400 total points
ID: 17939959
you may try to set the environment variables manually at the command line:

set PATH=%PATH%;"c:\program files\Microsoft Visual Studio\vc98"
set INCLUDE=%INCLUDE%;"c:\program files\Microsoft Visual Studio\vc98\include"
set LIB=%LIB%;"c:\program files\Microsoft Visual Studio\vc98\lib"

Note, don't put any space characters around the = character.

If it works ok that way you may set the variables in the system settings - system - enhanced - environment variables permanently.

Regards, Alex


Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

588 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