RE: How to passing a hex number in Win32::API call

2009-10-27 Thread Brian Raven
Su, Yu (Eugene) <> wrote: > Hi, > > I have a DLL from FTDI (ftd2xx.dll www.ftdichip.com) for a USB > device. I try to write a simple perl script to list a number of (FTD) > USB devices connected to a PC. My code below got an error on invalid > parameter; > > Argument "M-\0\0\0\0\" isn't numeri

RE: How to passing a hex number in Win32::API call

2009-10-26 Thread Su, Yu (Eugene)
Hi, I have a DLL from FTDI (ftd2xx.dll www.ftdichip.com) for a USB device. I try to write a simple perl script to list a number of (FTD) USB devices connected to a PC. My code below got an error on invalid parameter; Argument "M-\0\0\0\0\" isn't numeric in subroutine entry at demo.pl line # I g