I am trying to make a DLL in C# for use in a couple other languages. I found RGiesecke\'s DllExport but it doesn\'t seem to work. It builds just fine and makes a dll, but
I had a similar problem, but had already set the platform target to x64 and had the following error:
The name 'CallingConvention' does not exist in the current context
I found adding the using directive System.Runtime.InteropServices resolve the problem.
System.Runtime.InteropServices