anyone ?
Hey,
I have an application coded in C# and using Xamarin.Mac ( paid version of MonoMac ) to make an application for Mac. I am already using Turboactivate but I want to implement it for Mac. What is the best way to do it ? For example if I add the .dylib file as a native library is there an example on how to use it ?
Or is there an XCode example project on how to do it natively for Mac ?Because in the example I did not find any XCode project.
Please let me know thanks.
I don't really know what you're asking. Use the Windows C# project and modify it for Mac. You'll have to change the TurboActivate.dll references, and you might have to make a few other changes.
If you want to see a C/C++ example, then look in the API\C folder.
For C or C++? Ok, we'll add one next release. Is there anything in particular that's confusing you? It's a simple "c" file, and the only dependency is the libTurboActivate.dylib.
You guys were calling us asking this question today. Namely, how to use TurboActivate with C# on Mac OS X. We explained this on the forum, but it seems you guys didn't understand.
Here's how you do it:
Step 1. Download and play with the C# example for Windows. http://wyday.com/limelm/help/using-turboactivate-with-csharp/
Step 2. Modify the example to use libTurboActivate.dylib (see: http://stackoverflow.com/questions/6798091/is-net-pinvoke-available-on-linux-and-mac-os-x-platforms )
And that's it. Nothing terribly complicated.