I'm fairly unfamiliar with using C++ but I need to put together a simple code to communicate with a microprocessor. This is being down on a Windows Xp/Vista platform since I believe that matters. The serial code is part of a larger project being done in C++ so I am pretty much tied to this language.

Can anyone show me some simple code or point me to a thread with a simple example on how to read/write characters over RS232? The task is very basic in that I write a few commands and then continually read in from the microprocessor.

Thanks in advance for any assistance.