0 out of 4 rated this helpful - Rate this topic

When IntelliSense Is Unavailable

There are certain cases when the IntelliSense options may not work as you expect.

If an incomplete function or other error exists in the code above the cursor, then IntelliSense may be unable to parse the code elements and therefore will not work. You can comment out the applicable code to enable IntelliSense again.

If the cursor is in a comment in your source file, then IntelliSense options is unavailable.

If the cursor is in the quotation marks around a string literal, as in the following,

MessageBox( hWnd, "String literal|") )

then IntelliSense options is unavailable.

By default, IntelliSense works automatically, but you can disable it.

Even when automatic statement completion is disabled, you can invoke an IntelliSense feature.

For more information, see Modifying IntelliSense Options.

Make sure that your include directories and include files are set up correctly. Use the /I (Additional Include Directories) and the /INCLUDE (Force Symbol References) options to configure these settings.

For more information about the include directive, see #include Directive (C/C++) and Using C++ Library Headers.

For projects that contain CLR programming syntax from Visual C++ 2005 or later, 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 /clr (Common Language Runtime Compilation).

Date

History

Reason

Removed section referring to .ncb files, which are no longer used.

Replace with one of the following tokens:

Content bug fix.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
Installing SQL Server Compact 3.5 SP2 worked
Installed Visual Studio 2010 Express from the downloadable .iso.

Was seeing the error:
An error occurred while creating or opening the C++ browsing database file
Intellisense and browsing information will not be available for C++ projects.
Ensure that Microsoft SQL Server Compact 3.5 is installed and that no other applications are accessing the file. If the problem persists, delete the file and reopen the solution.


Thanks to the previous commenter, downloading and manually installing SQL Server Compact 3.5 SP2 remedies the problem.

As of November 2010, I was able to download from here:
http://www.microsoft.com/downloads/en/confirmation.aspx?familyid=E497988A-C93A-404C-B161-3A0B323DCE24&displaylang=en

Intellisense can also be broken from the initial install.
When you create a new project, it it possible to get the following error: $0$0 $0 $0An error occurred while creating the C++ browsing database file T: ... Ensure that Microsoft SQL Server Compact 3.5 is installed ...$0 $0$0 $0 $0I have no idea how to fix this, but I can say for certain the answer isn't to download SQL Server Compact 3.5.2 and install the 32 bit and 64 bit MSI's per install instructions.$0
Advertisement