Is it possible to use C# call C++ function?

I have a lot of functions which is built through C++.
May I use C# to call those functions ?
Or, anyone know the better method ? :stuck_out_tongue_closed_eyes:

It is absolutely possible and is something we do a lot of in Rhino. Search for topics on pinvoke on the internet and Iā€™m sure you will find plenty of articles.

Thank you for reply. :smile:
I got it. To find PInvoke ā€¦

This example shows you how:

1 Like

Thanks! :smiley: