Re: [Libusbx-devel] A stupid mistake

2012-06-19 Thread Jach Fong
Hi! Xiaofan, The open() function works after changing to release 1.0.12. What a stupid mistake I had made!! Thanks for help. Best Regards, Jach 2012/6/18 PM 06:14, Xiaofan Chen said: > On Mon, Jun 18, 2012 at 6:08 PM, Jach Fong wrote: >> I test it today on using the Borland C++ 5.0 (M

Re: [Libusbx-devel] A stupid mistake

2012-06-18 Thread Xiaofan Chen
On Mon, Jun 18, 2012 at 6:08 PM, Jach Fong wrote: >    I test it today on using the Borland C++ 5.0 (My previous tests > were done on another language). Wow, that is very old toolchain. Any reason you want to use it? >    At first, the BC++ linker complains about the libusb-1.0.lib > with "conta

Re: [Libusbx-devel] A stupid mistake

2012-06-17 Thread Xiaofan Chen
On Sun, Jun 17, 2012 at 5:03 PM, Jach Fong wrote: > Hi! Xiaofan, > >    Thanks for the guidance on choosing the libusb... I think > I will stick on the -win32 version at this moment, but like to > experiment with the newer libusbx. > >    Back to my problem raised in my first mail that a -0x0C > w

Re: [Libusbx-devel] A stupid mistake

2012-06-16 Thread Xiaofan Chen
On Sun, Jun 17, 2012 at 12:35 PM, Xiaofan Chen wrote: > On Sun, Jun 17, 2012 at 12:13 PM, Jach Fong wrote: >>    When I first read the libusbx introductory info, I thought the >> libusbx has its own driver as the libusb-win32 had. I was wrong:-( >> It still need the MS's WinUSB. >> >>    If it is

Re: [Libusbx-devel] A stupid mistake

2012-06-16 Thread Xiaofan Chen
On Sun, Jun 17, 2012 at 12:13 PM, Jach Fong wrote: > Hi! Xiaofan, > >    Thanks for your prompt reply. > >    When I first read the libusbx introductory info, I thought the > libusbx has its own driver as the libusb-win32 had. I was wrong:-( > It still need the MS's WinUSB. > >    If it is so, wha

Re: [Libusbx-devel] A stupid mistake

2012-06-16 Thread Xiaofan Chen
On Sat, Jun 16, 2012 at 5:12 PM, Jach Fong wrote: > Hi! I am a newbie on the libusbx. > >     My platform is WinXP SP3. I use the MS32\Dll\libusb-1.0.dll > unzipped from file libusbx-1.0.11-win.7z and give it a try. > >     Following the API document example's steps: >         The libusb_init(NULL

[Libusbx-devel] A stupid mistake

2012-06-16 Thread Jach Fong
Hi! I am a newbie on the libusbx. My platform is WinXP SP3. I use the MS32\Dll\libusb-1.0.dll unzipped from file libusbx-1.0.11-win.7z and give it a try. Following the API document example's steps: The libusb_init(NULL) return 0, it's OK The libusb_get_device_list(NULL