How to read and write on serial port with MFC ?
I want to read and write value on serail port to Microcontroller with MFC. The MFC have no serial port tool like in VB Professionnal edition. I try to find MFC connect serial port example but I not found. If you have good example for read and write on serial port with MFC please help me.
Re: How to read and write on serial port with MFC ?
Serial communications using Win32 API:
http://msdn.microsoft.com/en-us/library/ff802693.aspx
MFC doesn't have classes for serial communication. If you don't want to write from scratch, there are several serial port wrappers in CodeGuru and CodeProject.
Re: How to read and write on serial port with MFC ?
Here's one that supports most (if not all) Windows versions. http://www.naughter.com/serialport.html