Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Serial port communication and MFC standard class

Status
Not open for further replies.

foxjoker

Programmer
Jul 5, 2000
22
US
Hi !

I just finished an application that allows to get data from the serial port.
I used the standard createfile, readfile and writefile functions. But to treat data, I run a loop where I call the function that reads data from the port. And it caused an error if I don't set the focus on the window before I call this function.

Has somebody an idea about why ? [sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top