I had writin one dll in c++ that runs perfectly on c# apps.
it’s something like this
#include "stdafx.h"
#include "fun.h"
extern "C" __declspec(dllexport)double Add(double a, double b,double k);
extern double Add(double a, double b,double k)
{
return a+b+k;
}
Now i want to run this same DLL on MAC apps..what changes i need to have in my current DLL?
You cannot create a DLL that loads on both Windows and Mac. You will need to re-compile your code for Mac.