Welcome Guest 

Show/Hide Header

Welcome Guest, posting in this forum requires registration.

Pages: [1]
Author Topic: vs 2010 error C2065: _In_opt_z_ : undeclared identifier
jiapei100
Newbie
Posts: 9
Post vs 2010 error C2065: _In_opt_z_ : undeclared identifier
on: February 14, 2012, 22:17

Refer to http://stackoverflow.com/questions/1356653/multiple-compiling-errors-with-basic-c-application-on-vs2010-beta-1

The solution is:

The problem is that in VS2010 the Global options for include paths has been removed. After some searching, I found that the two files that contained these settings (From my previous install of VS) were in the following directory:

C:\users\username\appdata\local\microsoft\msbuild\v4.0\

The two files are:

Microsoft.Cpp.Win32.user.props
Microsoft.Cpp.x64.users.props
Edit the IncludePath variable

Remove the DDK path, saved the file, and restarted VS2010. This resolved my issue for all new projects.

Welcome to Vision Open
http://www.visionopen.com

Pages: [1]
Mingle Forum by cartpauj
Version: 1.0.33.2 ; Page loaded in: 0.048 seconds.

Latest Forum Discussions