This is a Win32 application.
I want to read from the comm. port. (I think you use CreateFile()?)
I then want to read that file that was created when i read from the comm port and construct a gaph out of the information that was obtained.
I think thats how it works, i am not quite sure. But thats what i need to do.
i just want to make a graph made from the information at the comm port . I want to be able to print and save the graph.
Thank you.
----------------------------
EDIT:
I dont even care about the graph right now. I just want to get the information from the serial port and save it to a text file or sumthing. Pplease help. I have been endlessly working.
i figured out how to open the serial port:
Code:
HANDLE m_hCommPort = ::CreateFile( szPortName,
GENERIC_READ|GENERIC_WRITE,
0,
0,
OPEN_EXISTING,
FILE_FLAG_OVERLAPPED,
0
);