G
George
Hi.
I'm doing a class for accessing the Serial port using a file stream.
I open the COM using CreateFile(win32API) and then create the file stream.
However when writting several times I get a System.IO.IOException with "An
attempt was made to move the file pointer before
the beginning of the file"
Any help. How could I avoid it?
I'm doing a class for accessing the Serial port using a file stream.
I open the COM using CreateFile(win32API) and then create the file stream.
However when writting several times I get a System.IO.IOException with "An
attempt was made to move the file pointer before
the beginning of the file"
Any help. How could I avoid it?