?
Solved

C++ conversion errors

Posted on 2003-03-02
5
Medium Priority
?
241 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
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…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
Suggested Courses

777 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