extern "C" __declspec(dllexport) void myFunction() { //Some code };
[DllImport("D:/MyProject.dll")] private static extern void myFunction();
int
void
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)