The specified procedure could not be found
IntPtr dllEntryPoint = GetProcAddress(hLib, methodName); if (IntPtr.Zero == dllEntryPoint) { error=> throw new Win32Exception(Marshal.GetLastWin32Error()); } PointerToMethodInvoker drs = (PointerToMethodInvoker) Marshal.GetDelegateForFunctionPointer(dllEntryPoint, typeof(PointerToMethodInvoker)); drs();
methodName
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)