关于release版本串口的问题
优悠星辰 2013-11-26 04:34:36 我想问一下,就是在Qt中debug版的时候运行串口读写程序,可以读和写都可以,但在release版时读接收到的数据是成功的,但一运行到WriteFile()写数据时就出错了,
Error -
RtlWerpReportException failed with status code :-1073741823. Will try to launch the process directly
DWORD n_bytes = 0;
//ret = (WriteFile(mb_param->w_ser.fd, query, query_length, &n_bytes, NULL)) ? n_bytes : -1; ret = WriteFile(mb_param->w_ser.fd, query, query_length, &n_bytes, NULL); printf("%d,ret");