Tag Archives: Technical area

IntelliSense in VC + + 2010: unable to open source file “StdAfx. H”

Refer to http://social.msdn.microsoft.com/Forums/en-US/vcprerelease/thread/efdf4ae8-437d-4a7f-8cf5-b895257da2bd
 
Problems such as unable to find files can be solved with this method, is the path problem. Similar problems may occur when a VC ++2008 project is transferred to VC ++2010.
 
Solution:
Add $(projectDir) to the Project Properties = Configuration Properties = C/C++ = General = Additional Includes directory
See below