Click here to Skip to main content
15,881,424 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I am developing a project in VC++ 2010 MFC. I need Serial Port
Communication Control like MSCOMM32.ocx of VC++ 6.0.
For MFC based application which control can I use?
I tried to register MSCOMM32.ocx ,but it fails to register
as I am using Windows 7.0
Posted

Such an old OCX control should not be used anymore.

You may use the Windows API Communication Functions[^] to implement serial communication yourself.

Because serial communication is often not a simple task, have also a look on articles and classes providing a simpler interface. Use the Search function here at CodeProject to find one that matches your requirements: mfc c++ serial port[^].

Even if you did not find what you want, the sources may be helpful to understand serial communication.
 
Share this answer
 
Comments
Andy411 16-Nov-12 10:02am    
Out of my experience I full agree with you, that serial communication is often not a simple task. It can become very tricky!
adityarao31 16-Nov-12 23:22pm    
Thank you very much for your Answer
Is this what you are looking for?...

CSerialPort v1.03 - Serial Port Wrapper[^]
 
Share this answer
 
Comments
adityarao31 16-Nov-12 23:22pm    
Thank you very much for your Answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900