I'm working on NFC-4311E RFID tag reader. I need help marshaling this C++ call:
short OpenReader(HANDLE * hCom, unsigned char LinkType, char *com_port)
To C# code. I used this code:
[DllImport("Reader.dll", CharSet = CharSet.Unicode)]
private unsafe static extern short OpenReader(ref IntPtr hWnd, byte linkType, StringBuilder ip)
I'm new in marshaling.