Home > C: Programming > Programming Note > History back  Previous chapter  Next chapter  Print  

Programming in C#

uEye Camera Manual Version 3.80

Programming in C#

We suggest to use the C# programming language for the creation of visualization applications. While it is possible to access image memory contents, doing so is more tedious than in C/C++ due to the 'managed code'. To access image memory contents in C#, you can use 'unsafe code' or the 'Marshall class'. Some system-level functions, such as Windows event handling, can be integrated using the Windows API. The uEye SDK includes sample programs for programming with Microsoft Visual Studio in the C# programming language.

Required Files

In order to access the uEye API in C#, make sure to include the following files in your project:

Header file: uEye.cs
Function library (DLL): uEye_Api.dll

 

In order to access the uEye AVI functions in C#, make sure to include the following files in your project:

Header file: uEye_tools.cs
Function library (DLL): uEye_tools.dll

 

Hinweis

We suggest that you keep the function libraries (DLL, AX and OCX files) in the default directory. Under Windows, these files reside in C:\Windows\System32\ after the installation.

Copying these files to other locations may result in version conflicts.


Suggestion for improvement? Send us your short Feedback on this chapter. Thank you very much!


© 2010 IDS Imaging Development Systems GmbH
http://www.ids-imaging.com