I want to communicate with Pmac Controller by using C# windows application
I am using VS2008 ,OS-WindowsXP
Communication Cable- ethernet
I have searched a lot regarding this but there is no deltatau documentation on It
I have VC++ code.. but I am not able to convert it
CODE
this code implements interface which have Interface
COleDispatchDriver which is not availble in c#
there are many pointers also.
void CIPmacDevice::Open(long dwDevice, BOOL* pbSuccess)
{
static BYTE parms[] =
VTS_I4 VTS_PBOOL;
InvokeHelper(0x1, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
dwDevice, pbSuccess);
}
void CIPmacDevice::SelectDevice(long hWindow, long* pDeviceNumber, BOOL* pbSuccess)
{
static BYTE parms[] =
VTS_I4 VTS_PI4 VTS_PBOOL;
InvokeHelper(0x1a, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
hWindow, pDeviceNumber, pbSuccess);
}
How to convert following code in C#