On 2012.08.17 15:04, 13456 1653 wrote:
>
> Hello, i want to init libusb on the Windows Embedded Standart SP3
From this [1], I'll assume that your target CPU is x86 compatible, right?
> but it crashed.
Not entirely surprising, since this is an environment that we have never
tested, due to (as far as I know) none of the regular members of this
list having either access to a Windows Embedded Standard device, or
having the had the opportunity to test libusbx there.
> [ 0.000000] [00000ce4] libusbx: error [usbi_pipe] could not create pipe:
> errno 2[[BR]]
>
> Can i run it?
By the looks of it, unless some on this list indicate that they have
access to a Windows Embedded Standard device and want to investigate the
problem, you may have to be the one doing most of the work to help us
figure out the issue.
This being said, the most likely reason is that the NUL device does not
exist on your system or behave as it does on standard Windows platforms.
errno 2 is "No such file or directory" and the error basically comes
from trying the following: _open("NUL", _O_WRONLY);
From looking around [2], it seems that the "NUL" device is not
enabled/visible by default in Windows Embedded, and you will need to
alter the visibility level as per [3] (again, no idea how accurate that
info is, or how to complement that info if it's not clear enough, as I'm
not familiar at all with Windows Embedded).
Regards,
/Pete
[1]
http://www.microsoft.com/windowsembedded/en-us/evaluate/windows-embedded-standard-7.aspx
[2]
http://social.msdn.microsoft.com/Forums/en-US/winembnatapp/thread/b7365ee0-5d78-42a3-9394-d36849306287/
[3]
http://stackoverflow.com/questions/997830/how-do-i-add-the-null-device-to-windows-xp-embedded
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
libusbx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libusbx-devel