Forum Xamarin Xamarin.iOS

Worked example of calling unmanaged C++ from C# using PInvoke

brbbrb AUMember ✭✭


I have been working for quite some time trying to use a 3rd-party C++ library with Xamarin for iOS. I have finally got this all working - and I could not have done it without the help of many blogs, forums, and banging my head on the wall. What finally made it all click was a great post on Code Project:

In order give back to the community I have built a small end-to-end example that contains both an XCode and Xamarin project. You can find it here:

I hope this helps someone else.




Sign In or Register to comment.