PDA

View Full Version : EasyHID & Delphi - some trouble



BigWumpus
- 16th September 2007, 11:52
Hello,
I've managed to write some code with the EasyHID-Output, but there are some questions:

Inside the PBP-code, I define a USBBuffer of 24 characters and the compiler build an array [0..23] of byte.

In the Delphi-code, there is an array [0..24] of bytes. Why ?

In the Delphi-code there are comments to not use the index "0" of the USBBuffer-array.

So, in Delphi i have to use 1..24 as index and in PBP the index 0..23 ????