How to call native C from C# when C is hosting the CLR

Viewed 92

I have a C program that is able to host the CLR and call C# methods just fine. (I'm using HostFxr.) I now want to call a native C function from C#. There are some examples on the net, but I can't find any for the case that the C program is hosting the CLR. I am doing this on Linux.

Any pointers would sure be appreciated.

Thanks!

Blake McBride

0 Answers
Related