one of the function parameters is const unsigned char *var,
I tried to pass that parameter as a string , Byte array but that was useless.
Would you please help me to find the correct data type to pass that parameter?
Code:
[DllImport("DMT.dll")] static extern int RequestData(int comm_type, int conn_num, int slave_addr, int