Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

請問有關以VC++撰寫RS232界面的問題

0 views
Skip to first unread message

Y2k我是蟲

unread,
Aug 1, 1999, 3:00:00 AM8/1/99
to
※ 引述《hcj...@bbs.ee.ncku.edu.tw (robert)》之銘言:
: 我的應用程式是以VC++ 5.0所撰寫的,不知道要如何寫/讀資料到 RS232 PORT
: ,VC++是否有提供相關的MFC(具有設定BAUD RATE的能力)?或是否有另外的方法?
: 煩請賜教,THANKS!!!


VC++ 有提供 _inpb _outpb 的runtime library
--
※ Origin: 貓空行館 ◆ From: c231_150.cjctc.edu.tw

NONAME

unread,
Aug 2, 1999, 3:00:00 AM8/2/99
to
==> 在 ogno...@bbs.cs.nccu.edu.tw (Y2k我是蟲) 的文章中提到:

> ※ 引述《hcj...@bbs.ee.ncku.edu.tw (robert)》之銘言:
> : 我的應用程式是以VC++ 5.0所撰寫的,不知道要如何寫/讀資料到 RS232 PORT
> : ,VC++是否有提供相關的MFC(具有設定BAUD RATE的能力)?或是否有另外的方法?
> : 煩請賜教,THANKS!!!
> VC++ 有提供 _inpb _outpb 的runtime library

這有點太低階了。
可以試試CreateFile(),WriteFile()及ReadFile()

--
* Origin: ★ 交通大學資訊科學系 BBS ★ <bbs.cis.nctu.edu.tw: 140.113.23.3>

0 new messages