extern "C" __declspec (dllexport) short __stdcall TestFunction(short i){ return i+123; }
[DllImport("Dll.dll")] static extern short TestFunction(short i);
short x=3; x=TestFunction(x);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)