線上訂房服務-台灣趴趴狗聯合訂房中心
發文 回覆 瀏覽次數:3141
推到 Plurk!
推到 Facebook!

請問 Delphi 2009 下可用的 COM Port 元件

答題得分者是:susu
IOann
一般會員


發表:2
回覆:1
積分:0
註冊:2009-02-23

發送簡訊給我
#1 引用回覆 回覆 發表時間:2009-05-24 11:42:51 IP:114.42.xxx.xxx 訂閱

手上有一個老師給的 TComport Component (written by Dirk Claessens),
這支元件看來歷史悠久:

--
Developed on: D4 Pro/upd 2&3
Tested on : WIN-NT4/SP6, WIN98se, WIN95/OSR1
--

我在 Windows XP SP3 下,用 D5, D6, D7, D2007 都可以使用這支元件,
但在 Delphi 2009 下卻無法使用。

有試著把這支元件裡的 String 全部改成 AnsiString,但似乎不是這麼單純?

請問各位手上有沒有 D2009 可用的 COM Port 元件,
或是這支元件該如何修改呢?
編輯記錄
IOann 重新編輯於 2009-05-24 11:43:32, 註解 無‧
susu
一般會員


發表:0
回覆:6
積分:11
註冊:2004-07-19

發送簡訊給我
#2 引用回覆 回覆 發表時間:2009-05-25 10:49:49 IP:124.135.xxx.xxx 未訂閱
我感觉这个非常不错,全部源代码,免费


DomIS Internet Solution http://www.domis.de
Fully Serial Communication with Delphi and Windows 95/98/Me/NT/2000/XP
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Official SerialNG Hompage http://www.domis.de/serialng.htm
There is an User forum availaible: http://www.domis.de/forum.htm
Documentation: For a full Description see http://www.domis.de/serialngdoc.htm
Installation: For a full Description see http://www.domis.de/serialnginst.htm
Licence:
This Software is free for Open-Source Projects (GNU-License)
This Software is free for Closed-Source Projects if
- this Source is included in the Distribution of the Project, and
- in the AboutBox or an other simmilar Place the String "Created with SerialNG from DomIS http://www.domis.de" is included. Translation is allowed
If You want to use this tool without the above condition (Source is total hidden) then call me first.
IOann
一般會員


發表:2
回覆:1
積分:0
註冊:2009-02-23

發送簡訊給我
#3 引用回覆 回覆 發表時間:2009-05-31 23:20:15 IP:114.42.xxx.xxx 訂閱
自問自答:

我還不太清楚 VCL, Unicode, RS232 Tx, Rx 之間的關係,
不過只要將 TComPort Component 內有關 Tx 和 Rx 的 String 定義成 AnsiString 即可運行該元件。
系統時間:2024-04-27 7:33:14
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!