When IntelliSense Is Unavailable
There are certain cases when the IntelliSense options may not work as you expect.
If the insertion point is inside the quotation marks around a string literal, as in:
MessageBox( hWnd, "String literal|") )
then IntelliSense options will not be available.
If the no compile browser (.ncb) file located at the root of your project directory is read-only or becomes corrupt in some manner, IntelliSense information will no longer be available. To fix this, do the following:
Close the solution.
Delete the .ncb file.
Reopen the solution.
Reopening the solution creates a new .ncb file.
For projects that contain CLR programming syntax in Visual C++ 2005, you must use the /clr compiler option.
For projects that contain Managed Extensions for C++ syntax, which is CLR programming syntax prior to Visual C++ 2005, you must use the /clr:oldSyntax compiler option.
For more information, see.