using com port in visual c++ 2008

Status
Not open for further replies.

amintlk

Member level 1
Joined
Aug 23, 2010
Messages
36
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Location
bojnourd
Activity points
1,523
hi everyone .. how can i use serial port in visual c++ ?? i looked for com port object in activeX component but i didn't find it!!
 

Use CreateFile , WriteFile and ReadFile function in "winbase.h".
You can use COM port like a file.
 

one of the best document on serial port programming is attched here.
read it. you will understand many finer points in win serial port programming.
 

Attachments

  • serial-win.pdf
    66.7 KB · Views: 92
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…