Solved

VC++ in Visual Studio .NET

Posted on 2002-07-13
8
434 Views
Last Modified: 2010-04-14
I installed VS .NET on my XP Pro., set the environment variables, but I cannot run cl.exe. It says that some .dll file is missing.

So I try to build a new VC project- an empty project. I try to, from the menu, Add New Item. When I browse to the folder where all the .h, .cpp, .lib files are. They do not show up for me to choose.

What is the problem?? it looks like VS .NET is not properly installed? I didn't, however, get any error during installation. Should I install VC 6.0 on top of the .NET?

Thanks
0
Comment
Question by:anothercto
  • 4
  • 3
8 Comments
 
LVL 23

Expert Comment

by:naveenkohli
ID: 7151920
1. When you say "set the environment variables", does this mean that after installing VS.Net you tried to change the ENVIRONMENT variables manually?

2. Check the location where you created the project. When you start VS.Net for first time after installation the default location of creating new projects is in Documents & Settings/<user  profile>/.... folder. Are you looking at the right location?

3. There is no need to install VS6.0 if you are not foing any development specific to older version.

4. What dll missing message are you getting?

5. Are you running cl.exe from command line or letting VS.Net do the work?

Naveen
0
 

Author Comment

by:anothercto
ID: 7152065
I add to the environment variable 'path'.

When I type "cl" at the command prompt, I get: "unable to locate component- mspdb70.dll not found, re-installing the application may fix the problem."

When creating new project, I chage the path (from Document & settings, etc.) to "C:\myprojects", and I navigate to the folder where I have the cpp, .h, .lib files that I want to use, by using "Add New Item", the files just don't show up in the file chooser.
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 7152152
what happens when you start the IDE?
-- Dan
0
 

Author Comment

by:anothercto
ID: 7152349
I think it looks fine when I start the IDE. there is the main section with a big "Start", and silution explorer, etc. I was able to start a new VB project, console app: Hellow world. It runs OK too.
0
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 
LVL 49

Accepted Solution

by:
DanRollins earned 100 total points
ID: 7152965
Well then one option is to work from the IDE :-)
I found the file:
    mspdb70.dl
in
    D:\VisualStudio.NET\Common7\IDE

This may be related to a setup problem with the BETA version of Visual Studios.NET  In a thread on google groups, it was recommended to copy certain DLLs to the BIN directory.  See:

http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&th=891d8419409348b0&rnum=2
hwere it says:
    I copied Program Files\Vc70\(atlmfc+bin+include+lib) from all the three CD.
    I added mspdb70.dll and msvcr70.dll to the bin directory.

   This does exactly what I need.

=-=-=-=-=-=-=-
I hope this solves your problem.

-- Dan
0
 

Author Comment

by:anothercto
ID: 7153075
Dan,

Thanks for the info. I had to add 5 entries to environment variables to include,lib, and path after copying the dll file. I just didn't expect that VC gets so little respect from MS..

The IDE does not really work for my C++ project. When I try to 'Add New Item' (existing .h, .cpp, .lib, etc) to the project, I cannot see the files..?
0
 

Author Comment

by:anothercto
ID: 7157838
Should I install VS 6.0 separately, even though VS .NET is already installed?
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 7157926
You should not need to install VS 6.0 at all.  Why would you want to if you have VS .Net?  Do you have only an early beta of VS .NET?

I have both installed on my computer for testing purposes.  I just installed to different directories and there is no problem.

>> When I try to 'Add New Item' (existing .h, .cpp, .lib, etc) to the project, I cannot see the files..?
Why not?  perhaps you need to look in the directory where these existing files are stored.  I would suggest perhaps clicking some buttons or something like that.

-- Dan
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

920 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now