I use RS232 function ComWrt() to send a null terminated string, I use GetUserEvent to manage the contro panel comand buttons ,and when the user press some button it uses CmWrt() to send data, but at the same time i've installed a SerialComm Callback to listen for incomming data requests. The problem is that when the user pres"F1 send data", it doesnt send nothing to the other PC, but whe I run the programm in the debbug mode that is what happens: I puted a breakpoint exactly before the ComWrt() and I start a debbug with F8 (step into), so when i pass trouhg the function it sends the data and the programm in the other side responds to the data sended.?Why it only works in debbug mode? In release mode the programm runs
and nothing happen when I push "F1 send Data".(looks like there's no function in the instructions sequence)