Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
You can simply use the mscomm32.ocx component.
Go to -> Project -> Add to Project -> Components and Controls -> select folder 'Registered ActiveX Controls' -> select 'Microsoft Communications Control, version 6.0' (or any other version); next it will add in your project a Class (with default name 'CMSCOMM') with all you need for RS232 communications.
Notice: I have experienced many problems using NULL characters, so try to ensure that you don't use it.