Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

C++ conversion errors

Posted on 2003-03-02
5
Medium Priority
?
257 Views
Last Modified: 2010-04-01
I'm new to .NET and appreciate any help.

I'm converting a VS 6.0 C++ project to 7.0 and I'm getting a bunch of errors that I don't understand.

1) how do you setup the search paths for lib, include, bin etc as y ou did in 6.0. The program is having problems finding files like ..\src\occimpl.h

2) I'm getting some strangeness like Error C2143 syntax error : missing ')' before "*" in many of .NET's include files for example VC7\atlmfc\include\afxole.h line 1398  ... also on the same line error C2059: syntax error : ')'

I know I must be doing something wrong here but I can find any references that help.

thanks
0
Comment
Question by:Nevering
  • 3
5 Comments
 

Expert Comment

by:BlueTrin
ID: 8054232
Open the 'Solution Explorer' (CTRL + ALT + 'L')

You should see something like:

***********************************************************

= Solution 'temp2' (1 project)
|
+- = Project1

... etc (the rest of the files/projects)

***********************************************************


Right click on the name of the project (not the solution, the project, in this case it s 'Project1'), then on properties and you should see something more familiar ;).
0
 
LVL 1

Author Comment

by:Nevering
ID: 8054287
I have seen the extra directories to search, but aren't system folders search automatically? Why aren't the atlmfc folders being searched. Is there some setting ?  Seems like we're missing something
0
 
LVL 1

Author Comment

by:Nevering
ID: 8054527
I have seen the extra directories to search, but aren't system folders search automatically? Why aren't the atlmfc folders being searched. Is there some setting ?  Seems like we're missing something
0
 
LVL 1

Author Comment

by:Nevering
ID: 8067503
I called Microsoft on this and the correct way to do this is to turn on ATL project in properties and the include path had to be <..\src\mfc\occimpl.h>

0
 
LVL 5

Accepted Solution

by:
Netminder earned 0 total points
ID: 8069877
User resolved; points refunded and question closed.

Netminder
EE Admin
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
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 be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.
Suggested Courses

581 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