Required Settings for Visual C++ .NET
Required Settings for Visual C++ .NET shows all required project settings for MVS-8000 frame grabber projects when using the Microsoft Visual C++ .NET 2012, 2013, and 2015 development environments. All other project settings should be Visual C++ defaults or can be customized for your project.
To generate a new project, click the New Project button on the Start page. In the New Project dialog box, select Visual C++ Project for the project type, and select Win32 Project as your project’s template. Specify a name and location for your project, then click OK. In the Win32 Application Wizard dialog box, click Finish.
To display the Property Page for your project, highlight your project’s name in the Solution Explorer, Resource View, or Class View, then select Project -> Properties (or press <Shift+F4>).
In the Property Page, modify the new project’s settings as shown in Required Settings for Visual C++ .NET .
Project settings for frame grabber projects in Visual C++ .NET
Configuration
|
Folder
|
Category
|
Item
|
Settings for Frame Grabber Projects
|
All Configurations
|
General
|
Project Defaults
|
Use of MFC
|
If your application uses ccDisplayConsole, select: Use MFC in a Shared DLL
If your application uses ccWin32Display and you do not want to link against MFC libraries, select: Use Standard Windows Libraries
|
C/C++
|
General
|
Additional Include Directories
|
$(VISION_ROOT)\defs
|
Detect 64-bit Portability Issues
|
No
|
Preprocessor
|
Preprocessor Definitions
|
Verify that these macros are defined: WIN32, _WINDOWS
Add for all projects: NOMINMAX
If your application uses ccWin32Display and you do not want to link against MFC libraries, add the macro: cmNoMFCDependency
|
Code Generation
|
Enable C++ Exceptions
|
Yes
|
Language
|
Treat wchar_t as Built-in Type
|
Yes
|
Enable Run-Time Type Info
|
Yes
|
Linker
|
General
|
Additional Library Directories
|
$(VISION_ROOT)\lib\win32\cvl
|
Debug
|
General
|
|
Output Directory
|
.\Debug
|
|
|
|
Intermediate Directory
|
.\Debug
|
|
C/C++
|
Preprocessor
|
Preprocessor Definitions
|
Verify that this macro is defined: _DEBUG
|
|
|
Code Generation
|
Runtime Library
|
Multi-threaded Debug DLL
|
Release
|
General
|
|
Output Directory
|
.\Release
|
|
|
|
Intermediate Directory
|
.\Release
|
|
C/C++
|
Preprocessor
|
Preprocessor Definitions
|
Verify that this macro is defined: NDEBUG
|
|
|
Code Generation
|
Runtime Library
|
Multi-threaded DLL
|
(Debug or Release) Unicode
|
C/C++
|
Preprocessor
|
Preprocessor Definitions
|
Verify that this macro is defined: UNICODE
|