Continue to Site

Welcome to EDAboard.com

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.

Data trough RS 232 with visual C++

Status
Not open for further replies.

tibs

Junior Member level 2
Junior Member level 2
Joined
Nov 29, 2001
Messages
23
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
130
visual c++ rs-232

Hi,

Does anyone know how to send a data via the rs 232 port with visual C++?

thanks.
 

**broken link removed**
 

Hi,

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.

Hope helps

NeuralC
 

thank you very much for all of these answers!

I will try!

have a good day
 

Hi

To access the parallel port under
XP u need a driver.

Try port95nt from Scientific Software Tools, Inc.

www.sstnet.com
 

Here is VC++ Classes!

**broken link removed**
**broken link removed**
**broken link removed**
**broken link removed**
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top