Displaying 2 results from an estimated 2 matches for "unmanagedfunctionpointer".
2006 Nov 27
1
R.DLL mapping by P/Invoke
...ionPtr)]
public dgShowMessage showMessage;
[MarshalAs(UnmanagedType.FunctionPtr)]
public dgYesNoCancel yesNoCancel;
[MarshalAs(UnmanagedType.FunctionPtr)]
public dgBusy busy;
public RUIMode characterMode;
};
//[UnmanagedFunctionPointer(CallingConvention.Cdecl)] < .Net 2.0
delegate int dgReadConsole(
[MarshalAs(UnmanagedType.LPStr)]string prompt,
IntPtr buf, int len,
int addtohistory
);
//[UnmanagedFunctionPointer(CallingConvention.Cdecl)] < .Net 2.0
delegate...
2007 Oct 17
0
Using R.dll in .NET IPC
...ionPtr)]
public dgShowMessage showMessage;
[MarshalAs(UnmanagedType.FunctionPtr)]
public dgYesNoCancel yesNoCancel;
[MarshalAs(UnmanagedType.FunctionPtr)]
public dgBusy busy;
public RUIMode characterMode;
};
//[UnmanagedFunctionPointer(CallingConvention.Cdecl)] < .Net 2.0
delegate int dgReadConsole(
[MarshalAs(UnmanagedType.LPStr)]string prompt,
IntPtr buf, int len,
int addtohistory
);
//[UnmanagedFunctionPointer(CallingConvention.Cdecl)] < .Net 2.0
delegate...