VC 6 can't find mspdb60.dll

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?
jjv001Asked:
Who is Participating?
 
jkrConnect With a Mentor Commented:
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.
0
 
waysideConnect With a Mentor Commented:
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.
0
 
itsmeandnobodyelseConnect With a Mentor Commented:
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

0
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.

All Courses

From novice to tech pro — start learning today.