Categories
Code Snippets Hints/Tips

Calling C Library DLLs from C#

In order to utilize legacy software, you may require a technique for calling unmanaged code written in C from C#.

Here is a simple example that shows how this can be achieved.