Hi, I am doing a programm to communicate serial ports. When I execute it from the Debug of the Visual C.net it works correctly. But if I execute it apart from the VC.net, it produces this error:
The instruction at [xxxx] referenced memory at [xxx] The memory could not be "read."
It is quite rare because it only brings errors if I execute it alone, and during the third time I want to read from the port. This made me suppose it could be buffer problems, but now I flush the buffer before the reading and the problem remains.
I do not know what is happening. I think it is a Microsoft's trouble.
I would be very pleased to you if you can help me.
Thanks, Álvaro
The instruction at [xxxx] referenced memory at [xxx] The memory could not be "read."
It is quite rare because it only brings errors if I execute it alone, and during the third time I want to read from the port. This made me suppose it could be buffer problems, but now I flush the buffer before the reading and the problem remains.
I do not know what is happening. I think it is a Microsoft's trouble.
I would be very pleased to you if you can help me.
Thanks, Álvaro