Jul 20, 2003 #1 onon Programmer Jul 20, 2003 1 US I want to visit serial port COM1 under XP&NT using MS Visual C++,but it cannot be realized using _inp() and _outp(). Would you help me to figure out how to visit COM1 using Visual C++? Thank you very much!
I want to visit serial port COM1 under XP&NT using MS Visual C++,but it cannot be realized using _inp() and _outp(). Would you help me to figure out how to visit COM1 using Visual C++? Thank you very much!
Jul 29, 2003 #2 hipot Programmer Feb 20, 2003 1 US For NT, try CreateFile("COM1",...) and then WriteFile and ReadFile on the handle. Upvote 0 Downvote
Jul 30, 2003 #3 kenon Programmer Jul 30, 2003 5 RU You'd better use special class. You can take it from "CodeProject" Upvote 0 Downvote