# C or .NET Integration

VisionPro Deep Learning provides a C library, which can be found in your installation directory, (C:\Program Files\Cognex\VisionPro Deep Learning\4.1\bin, under the name vidi_51.dll. The associated header files are in the following directory:

C:\Program Files\Cognex\VisionPro Deep Learning\4.1\Develop\include

For convenience and easier integration, VisionPro Deep Learning also distributes a .NET library that wraps all of the C library methods in an object oriented approach. The .NET library is distributed as NuGet packages, which are in the following directory:

C:\ProgramData\Cognex\VisionPro Deep Learning\4.1 \Examples\packages

The API reference guides are located in the following directory:

C:\Program Files\Cognex\VisionPro Deep Learning\4.1\Develop\docs

In addition, there are several examples to review in the following directory:

C:\ProgramData\Cognex\VisionPro Deep Learning\4.1\Examples

Note:

- Cognex recommends integrating the .NET library, unless you must integrate the C library.

- When developing your own applications using C# or C++:

  - C#: Ensure the platform target is set to x64.
  - C++: Make sure the stack size is at least 2 MB. Cognex recommends a 4 MB stack size.