Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

serailcom -> visual c++

Status
Not open for further replies.

Timmm

Technical User
Mar 5, 2003
2
BE
hi,
I have a barcodescanner connected with a serialport(rs232) of my computer. How can i read that data with visual c++ ??
i found at Microsoft _bios_serialcom(), but i think visual c++ 6 doesn't support it anymore.

Regards
 
See the WaitCommEvent and other Communication Function API's on MSDN

-pete
 
You should use CreateFile function with file name "COM1" and open flag: OPEN_EXISTING.
Do a search on MSDN for the article: "Communication with class". That'll help...
[red]Nosferatu[/red]
We are what we eat...
There's no such thing as free meal...
once stated: methane@personal.ro
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top