C++ calls:

hData = LoadLibrary("da ta.dll");
pMemDec=(MyFunc )GetProcAddress (hData,(char*) 11);

In C# how calls ?
[DllImport("kern el32.dll", SetLastError = true, CallingConventi on = CallingConventi on.StdCall)]
public extern static IntPtr GetProcAddress( IntPtr hModule, [MarshalAs(Unman agedType.LPStr)] string lpProcName);