Hello,

I need to send data via USB host port on my Acer N30 with a program
running on the PDA (no PC connected).

I found libusb on http://libusb-win32.sourceforge.net for generic USB
access. A C#-Wrapper is available.
The libusb puts a libusb0.dll in Windows/System32 on my desktop PC,
while the C#-Wrapper is in the Framework directory.

Before I spend hours testing, I assume that using the very same
libusb0.dll doesn't work on the ARM-CPU of the PocketPC because it's
hardware dependent and the C#-Wrapper isn't. Do I need to re-compile
libusb?

Which Compiler can do that? I have Visual Studio 2005, but cannot find
any other CPU-Option than x86 and x64. Can eMbedded Visual Tools do
that? I'm a little confused of these MS product names.

For any help, thank you very much!
Sasha

Re: Porting a WinXP-DLL to WinCe by ctacke/>

ctacke/>
Thu Jun 14 18:22:09 CDT 2007

It's definitely not going to work. The driver model itslef isn't the same,
so even recompiling it will not work.

Studio '05 Standard or better has the option to install Smart Device
support, if you have that you have Smart Device templates - that's how you'd
create the project and use the right template.

As for source - Platform Builder has samples for a lot of stuff and will
have a reasonable "starting point" for a USB host class driver (I only
assume that the N30 has host support - it's very rare in a PPC, but not
unheard of).


--

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Managed Code in an Embedded World
www.OpenNETCF.com


"Zourious" <sascha@ewt-net.de> wrote in message
news:1181861482.271194.238110@a26g2000pre.googlegroups.com...
> Hello,
>
> I need to send data via USB host port on my Acer N30 with a program
> running on the PDA (no PC connected).
>
> I found libusb on http://libusb-win32.sourceforge.net for generic USB
> access. A C#-Wrapper is available.
> The libusb puts a libusb0.dll in Windows/System32 on my desktop PC,
> while the C#-Wrapper is in the Framework directory.
>
> Before I spend hours testing, I assume that using the very same
> libusb0.dll doesn't work on the ARM-CPU of the PocketPC because it's
> hardware dependent and the C#-Wrapper isn't. Do I need to re-compile
> libusb?
>
> Which Compiler can do that? I have Visual Studio 2005, but cannot find
> any other CPU-Option than x86 and x64. Can eMbedded Visual Tools do
> that? I'm a little confused of these MS product names.
>
> For any help, thank you very much!
> Sasha
>



Re: Porting a WinXP-DLL to WinCe by Zourious

Zourious
Fri Jun 15 08:30:39 CDT 2007


Acer N30 indeed has USB host support. I found VS05 ARM's CPU options.
Using Platform Builder is a helpful information.
Thank you very much!

Regards,
Sasha