|
시리얼 통신으로..
HEX코드가 들어오거든요..
이거 받는 코드좀 가르쳐주세요..
제 생각에는..
AnsiString buf[4096];
int cont;
ComPort1->Read(buf, cont);
이렇게 할려고 하는데..
안되네요..?
쫌 받는것 같더니..
이런 에러가 나오거든요...
왜 이러죠..?
Project Project2.exe raised exception class EComPort with message 'ReadFile function
failed (with error code: 998)'. Process stopped. Use Step or Run to continue
간단하게..
0x40 0x40 0x40 0x42 0x1C 0x11 0x20 0x33 0x33 0x23 0x3D 이런 HEX값이 11개가..
시리얼 통신으로 들어올때..
받는 코드좀 부탁드려요..--;
정말..힘이드네요..--;
|