Home |
Using RTUSB-32 with Delphi |
Using RTUSB-32 with DelphiPlease see section Using Borland Delphi in the RTTarget-32 Programming Manual for general information on compiling and linking On Time RTOS-32 programs with Delphi. The RTUSB-32 low-level API is contained in unit RTUSB.PAS and can be used as described in the previous sections. Each class driver is contained in a separate unit: USBKeyboard.pas, USBMouse.pas, USBPrinter.pas, USBDisk.pas, and USBAudio.pas respectively. USBKeyboard.pas, USBMouse.pas, and USBDisk are self-initializing. It is sufficient to merely use these units to enable USB keyboard and/or mouse support. For the disk driver, a suitable RTFiles-32 device list is also required. All Pascal unit source files are located in directory Libdel. The use of RTTarget-32 unit RTTHeap is recommended for best heap efficiency.
|