T
tiagoorodrigues
Guest
Hello,
I'm trying to use the function Read(Byte[], Int32, Int32) or Read(Char[], Int32, Int32) and I can't use it, I think the problem is creating a Byte array or a Char array.
I'm using SerialPort libraries and to communicate I can send the data with a String^ but I can't read it, I'm always getting a "?" or in decimal value "63" and I think that's because the size excess the size of my variable, for what I search online using the function Read(Byte[], Int32, Int32) or Read(Char[], Int32, Int32) will solve my problem.
So I search it by pressing F1 on the function in my code, and all I see is sample codes for C# and non of them for C++.
Can you please send me a sample code of this function? So I can adapt to my code?
Thank you very much,
Best regards,
Tiago Rodrigues
Continue reading...
I'm trying to use the function Read(Byte[], Int32, Int32) or Read(Char[], Int32, Int32) and I can't use it, I think the problem is creating a Byte array or a Char array.
I'm using SerialPort libraries and to communicate I can send the data with a String^ but I can't read it, I'm always getting a "?" or in decimal value "63" and I think that's because the size excess the size of my variable, for what I search online using the function Read(Byte[], Int32, Int32) or Read(Char[], Int32, Int32) will solve my problem.
So I search it by pressing F1 on the function in my code, and all I see is sample codes for C# and non of them for C++.
Can you please send me a sample code of this function? So I can adapt to my code?
Thank you very much,
Best regards,
Tiago Rodrigues
Continue reading...