I wish to write an MFC program that sends/receives data from COM2. I know i can't use the inp and outp calls found in dos programs. Are there any API functions that I can use? Can I use CFile to open and read/write to a serial port?
I would appreciate code snippets. Many thanks!!!