|
From: Paul E. F. <pe...@bi...> - 2006-08-28 06:40:09
|
Thanks ,=20
the .dll does seems intact - ( it's only 33kb in size ? )=20
- and i get "Ordinal 82 could not be located in libusb0.dll"
=20
Regards
Paul
________________________________
Fra: lib...@li... =
[mailto:lib...@li...] P=E5 vegne af =
Dan Ellis
Sendt: 25. august 2006 14:59
Til: lib...@li...
Emne: Re: [Libusb-win32-devel] usb_interrupt_write -> ENOMEM ?
=09
=09
bytes is just a pointer so could be anything.
=20
I've compiled a version of the library which traps a negative size, =
hopefully it won't get stripped on the way to you.
=20
Dan.
________________________________
From: lib...@li... =
[mailto:lib...@li...] On Behalf Of =
Paul Erik Farre
Sent: 25 August 2006 11:56
To: lib...@li...
Subject: Re: [Libusb-win32-devel] usb_interrupt_write -> ENOMEM ?
=09
=09
Hi again,
=20
I have traced the -ENOMEM down to windows.c - usb_submit_async()=20
=20
if(!DeviceIoControl(c->dev->impl_info,=20
c->control_code,=20
&c->req, sizeof(libusb_request),=20
c->bytes,=20
c->size, &ret, &c->ol))
{
if(GetLastError() !=3D ERROR_IO_PENDING)
{
USB_ERROR_STR(-win_error_to_errno(), "usb_submit_async: "
"error: %s", win_error_to_string());
}
}
=09
one of the parameters (maybe c->size or c->bytes ...) must be negative =
or too big.
=20
Btw. does anybody have a working project or workspace for Visual Studio =
that can rebuild the .dll ?
=20
=20
=09
=09
________________________________
Fra: lib...@li... =
[mailto:lib...@li...] P=E5 vegne af =
Paul Erik Farre
Sendt: 25. august 2006 09:41
Til: lib...@li...
Emne: [Libusb-win32-devel] usb_interrupt_write -> ENOMEM ?
=09
=09
LIBUSB_DLL error: usb_submit_async: error: Der er ikke tilstr=E6kkelig =
ledig hukommelse til at behandle denne kommando.
-12 =3D ENOMEM Not enough memory to execute this command
=20
How do one solve this problem ? Simply add system memory ?
=20
Windows XP (Professional version 2002) SP1 , 512M Ram , Intel P4 2GHz. =
=09
Regards
Paul
|