Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

Opening a commport in Visual C++

Hi,

Can anyone tell me how I would open a commport in VC++? I need to
communicate with a piece of hardware and send ascii commands to it.

Thanks,
Eric
0 Kudos
Message 1 of 2
(2,559 Views)
You can do this with the CreateFile function. For more information on using CreateFile and the other file I/O functions with a comm port, see the Communications Resources in MSDN.

- Elton
0 Kudos
Message 2 of 2
(2,559 Views)