locked
window CE driver and window mobile driver RRS feed

  • Question


  • Hello All,


    I have a problem as follow for driver vs service model.


    I designed a wince 5.0 driver for a camera, it called third party decoding lib
    for bar code decoding. The decoding lib has a decoding function that wait for a
    bar code. It has timeout capability.

    1. Under wince, I load the driver (then the driver load the lib) as a service, the
    decoding function works well.

    2. Under wm 6.1, I used the program, load the driver as a service and load the
    decoding lib. But decoding func does not work. (Actually it seems another high
    priority thread is running and consumed most of the CPU power, so the time out
    is much longer as it is set)

    Note as we know, the driver does not use something special for ce or wm (We also
    asked the third party and got a lib special for wm, but it has the same problem)

    3. then under wm6.1, we load the driver as a device driver, the decoding func works well.
    However, other problem come out.

    4. I also tested to load the driver under ce as device driver, no problem.

    According to MSDN
    http://msdn.microsoft.com/en-us/library/ms938094.aspx
    There is not much difference except as explained in the link.

    Is there something fundamentally different under ce 5.0 vs wm6.1 and driver vs
    service model (except the things MSDN said, such as

    http://social.msdn.microsoft.com/Forums/en-US/windowsmobiledev/thread/2bb185ed-c47d-474a-b9ae-fe7e07312e51)?

    Is there anything you could suggest?


    Thanks and happy new year.


    Alan

    • Moved by Dinesh Kattameda Tuesday, April 19, 2011 11:20 PM Not related to this forum (From:MSDN, TechNet, and Expression Profile and Recognition System Discussions)
    Thursday, December 23, 2010 4:32 PM

Answers