全國最多中醫師線上諮詢網站-台灣中醫網
發文 回覆 瀏覽次數:12169
推到 Plurk!
推到 Facebook!

[推薦]Human Interface Device component(可控制USB喔)

 
axsoft
版主


發表:681
回覆:1056
積分:969
註冊:2002-03-13

發送簡訊給我
#1 引用回覆 回覆 發表時間:2002-06-26 10:57:32 IP:61.218.xxx.xxx 未訂閱
Human Interface Device component Interface for Microsoft Human Input Device (HID) API, updated 23 Mar 2000 作者:Robert Marquardt BCB使用方法 1.將hid.dll複製到BCB\Bin資料夾 2.以implib hid.lib hid.dll命令列製造出hid.lib 3.在dclusr50.dpk加入hid.lib 4.Install Component->HidControllerClass, 編譯完之後Component Palette裡便有TjvHidDeviceController元件可供使用. 5.使用方法參考所壓縮檔附的Delphi範例 下載: ftp://delphi-jedi.org/api/hid.zip 語法: ==================================================================== TJvHidDevice Object Hierarchy Properties Methods Events Declaration TJvHidDevice = class(TObject) TJvHidDevice object represents a physical HID device. All static informations of the device have been read into properties of the object. The object is created at runtime by a TJvHidDeviceController which reigns all TJVHidDevice object. ===================================================================== The HID component gives you complete access to all HID devices of Windows 98, Windows 98 SE and Windows 2000. A HID device is a USB device which you can interact with. Most of the USB devices are HID. Keyboard, mice or scanners are definitely HID. A USB Hub is not HID. There is no need to touch it to make it work. Some non USB devices are added to HID by a legacy driver. The main feature of USB is the hotplugging of the devices. Consequently the HID component is a controller component which handles all the HID device plugs and unplugs. You will therefore only need a single instance of the HID component in your program. Each individual HID device is represented by an instance of a HID device object. The HID controller holds a list of all HID device objects. When a HID device is plugged Windows sends a WM_DEVICECHANGE event. The HID component catches this event and adds a new instance of a HID device object to its list of HID devices. Now you can ask the HID component to hand out one of its HID device objects. With this HID device object you can then access the individual device. When you are finished with the device hand back the HID device object to the HID component 發表人 - axsoft 於 2002/06/26 10:59:08
kuo348
一般會員


發表:2
回覆:11
積分:12
註冊:2002-09-18

發送簡訊給我
#2 引用回覆 回覆 發表時間:2002-09-24 22:44:44 IP:61.224.xxx.xxx 未訂閱
axsoft 你好: 我按照你說的安裝,可以把元件裝上,不過我將元件拉至表單上後,卻無法compiler,不曉得你是否可以順利使用該元件呢?還請指教一番!! kuo348
pixel
一般會員


發表:4
回覆:1
積分:1
註冊:2003-10-06

發送簡訊給我
#3 引用回覆 回覆 發表時間:2003-10-18 15:13:24 IP:211.22.xxx.xxx 未訂閱
你好: 下載的檔案中我找不到hid.dll, 因為我對BCB不是很熟,第二步驟implib我並不了解怎麼做,可否告知清楚一點,
lcu
一般會員


發表:6
回覆:13
積分:3
註冊:2003-11-11

發送簡訊給我
#4 引用回覆 回覆 發表時間:2003-11-11 16:08:13 IP:210.243.xxx.xxx 未訂閱
Hi All, 我下載不到hid.zip,可否傳到我信箱:charley@3system.com.tw,謝謝.
n38870035
一般會員


發表:2
回覆:14
積分:3
註冊:2003-07-19

發送簡訊給我
#5 引用回覆 回覆 發表時間:2004-02-15 14:00:35 IP:140.134.xxx.xxx 未訂閱
請問一下大大我下載了你所提供的物件,但是出現了File not found: 'Dsgnintf.dcu'的問題,這是否因D5 OR D6版本不同的關希. 謝謝
引言: Human Interface Device component Interface for Microsoft Human Input Device (HID) API, updated 23 Mar 2000 作者:Robert Marquardt BCB使用方法 1.將hid.dll複製到BCB\Bin資料夾 2.以implib hid.lib hid.dll命令列製造出hid.lib 3.在dclusr50.dpk加入hid.lib 4.Install Component->HidControllerClass, 編譯完之後Component Palette裡便有TjvHidDeviceController元件可供使用. 5.使用方法參考所壓縮檔附的Delphi範例 下載: ftp://delphi-jedi.org/api/hid.zip 語法: ==================================================================== TJvHidDevice Object Hierarchy Properties Methods Events Declaration TJvHidDevice = class(TObject) TJvHidDevice object represents a physical HID device. All static informations of the device have been read into properties of the object. The object is created at runtime by a TJvHidDeviceController which reigns all TJVHidDevice object. ===================================================================== The HID component gives you complete access to all HID devices of Windows 98, Windows 98 SE and Windows 2000. A HID device is a USB device which you can interact with. Most of the USB devices are HID. Keyboard, mice or scanners are definitely HID. A USB Hub is not HID. There is no need to touch it to make it work. Some non USB devices are added to HID by a legacy driver. The main feature of USB is the hotplugging of the devices. Consequently the HID component is a controller component which handles all the HID device plugs and unplugs. You will therefore only need a single instance of the HID component in your program. Each individual HID device is represented by an instance of a HID device object. The HID controller holds a list of all HID device objects. When a HID device is plugged Windows sends a WM_DEVICECHANGE event. The HID component catches this event and adds a new instance of a HID device object to its list of HID devices. Now you can ask the HID component to hand out one of its HID device objects. With this HID device object you can then access the individual device. When you are finished with the device hand back the HID device object to the HID component 發表人 - axsoft 於 2002/06/26 10:59:08
htc51
一般會員


發表:2
回覆:1
積分:0
註冊:2004-08-03

發送簡訊給我
#6 引用回覆 回覆 發表時間:2004-08-03 23:14:32 IP:218.87.xxx.xxx 未訂閱
我用下載的delphi例子編譯不能通過,也是提示找不到'Dsgnintf.dcu',請問是怎麼回事?是不是下載的文件不全? lx
------
lx
AJCooer
初階會員


發表:48
回覆:52
積分:25
註冊:2004-02-12

發送簡訊給我
#7 引用回覆 回覆 發表時間:2004-08-13 16:45:33 IP:61.218.xxx.xxx 未訂閱
我也是提示找不到'Dsgnintf.dcu',請問是怎麼回事?是不是下載的文件不全? 或是哪裡出了錯誤? 煩請指教?
LeonSun
一般會員


發表:5
回覆:9
積分:2
註冊:2003-10-17

發送簡訊給我
#8 引用回覆 回覆 發表時間:2004-08-19 08:53:59 IP:61.56.xxx.xxx 未訂閱
DLL是不是要用Delphi去Compiler啊? 我沒有Delphi環境耶,是不是可以請哪一位好心的大大幫忙Complier後寄給我,或放到站上來提供BCB的使用者,謝謝! leonsun111111@hotmail.com
blacksquall
一般會員


發表:0
回覆:1
積分:0
註冊:2004-10-03

發送簡訊給我
#9 引用回覆 回覆 發表時間:2004-10-03 22:13:53 IP:61.66.xxx.xxx 未訂閱
我找不到dclusr50.dpk 這是在C Builder的資料夾裡嗎??還是是Delphi??
harvey30438
一般會員


發表:2
回覆:5
積分:1
註冊:2004-12-15

發送簡訊給我
#10 引用回覆 回覆 發表時間:2004-12-15 03:03:43 IP:221.169.xxx.xxx 未訂閱
抱歉..爬文爬到這篇文章 回應的都是有問題 版大不之能不能再解釋一下第三與第四的動作 感激~~
joeen63
一般會員


發表:8
回覆:5
積分:2
註冊:2007-04-05

發送簡訊給我
#11 引用回覆 回覆 發表時間:2010-02-03 18:43:41 IP:114.36.xxx.xxx 訂閱
要如何同時使用兩個以上的 JvHidDeviceController 物件


GrandRURU
站務副站長


發表:240
回覆:1680
積分:1874
註冊:2005-06-21

發送簡訊給我
#12 引用回覆 回覆 發表時間:2010-02-03 22:05:16 IP:118.167.xxx.xxx 未訂閱
補上更新後的網址
JEDI Visual Component Library
joeen63
一般會員


發表:8
回覆:5
積分:2
註冊:2007-04-05

發送簡訊給我
#13 引用回覆 回覆 發表時間:2010-02-04 10:04:01 IP:114.36.xxx.xxx 訂閱

===================引 用 GrandRURU 文 章===================
補上更新後的網址
JEDI Visual Component Library


目前使用 HIDController.v1.0.32.Full.Source.Delphi.BCB.554174 , 要如何更新呢?
系統時間:2024-11-21 19:54:52
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!