On Wed, Jan 23, 2013 at 7:44 PM, Toby Gray <toby.g...@realvnc.com> wrote:
> I'll try to help. I can provide pre-compiled libusb dlls for Windows CE, but
> I think all the baseports we have are for WinCE 6, so wouldn't help your
> WinCE 5 device.

I see. I will check with my colleague whether he has a port of CE 6 for
the device.

> Another issue is that WinCE 6 onwards doesn't really have a stable kernel
> API between baseports; creators of baseports are free to add, remove or
> modify most of the APIs called by the Windows CE USB wrapper so the general
> advice is to build a driver for each hardware platform.

I see.

>> I have issues building both libusbx WinCE branch and the Windows CE
>> USB wrapper.
>
>
> Which branch were you using? I've just tried the libusbx master in VS2005
> and it all builds nicely.
>
> The https://github.com/pbatard/libusbx/commits/wince-integration branch was
> broken when I last tried it, but Pete has fixed all those issue before
> merging into libusbx master.


Okay, I will try the master again.

>>
>> 1) Windows CE USB Wrapper:
>> https://github.com/RealVNC/CEUSBKWrapper
>
>
> If you're building for a WinCE 5.0 system then you'll have trouble. The big
> (and hopefully only) issue is that between WinCE 5.0 and WinCE 6.0 the
> method for kernel code to access user memory changed significantly.
>
> Currently the UserBuffer.cpp file only has an implementation for the WinCE
> 6.0 API. I'll see if I can track down a WinCE 5.0 baseport, but if I can't,
> would it be possible for you to try a patch if I provide it?

Yes I can try the patch.

>
>> BUILD: [01:0000000031:ERRORE]
>> c:\WINCE500\PLATFORM\RABASE\SRC\TESTS\usb\drv\UserBuffer.h(38) : error
>> C2100: illegal indirection
>>
>
> That isn't the issue with different kernel APIs between WinCE 5 and WinCE6.
> Can you try the attached patch and see if that fixes all of the issues other
> than the UserBuffer.cpp compilation?

Okay will do that later. Thanks.

On the other hand, my test will not be fast since I myself do not have
the necessary tools and I do not want to delay the 1.0.15 release. So
it is okay to release 1.0.15 as it is without waiting for my test results.




-- 
Xiaofan

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to