Click here to Skip to main content
15,168,085 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Dear Members of CodeProject!

I am a newbie to develop in C++, I started learning C++ few weeks ago. I am working on a programme in which I have to use serial communication in Win32.
Could anyone tell me where can I find a very simple, free C++ class that handles the serial port and works fine with Visual Studio 2005?
I found several serial libraries but I think they are designed for older environments, and they don't really work in VS2005.

Thank you for your help!

Setting up the Serial Port is rather straight forward without need to use anyone elses code.

The example in the above link should help you out.
yshx83 22-Jul-10 22:39pm
Reason for my vote of 5
you can find same code you need!
Don't use other people's classes. Use Windows API, have a look at MSDN documentation about [^].
you can use MSComm controller.

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