Re: USB function client driver in wince 5.0

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Try putting the files under either WINCE500\PBWorkspaces\<your stuff> or WINCE500\Platform\<a platform>\<your stuff> or basically not under the public tree. Definitely not under the public tree, definitely. Put it under c:\Projects\USB perhaps. Public tree - bad idea.

You can access functions in whatever you link to, provided that the functions are exported from the Dll. Read about sources files and dirs files which control the build for specifying the correct link paths. There are lots of examples too.

! Don't put your files under the public tree !

Read about the build process. The sysgen phase strips the common registry/bib (amongst other things). In your build I guess only SYSGEN_USBFN_STORAGE is defined, so sysgen removes the others.


What documentation are you looking for? PB documentation isn't the best but it does have a guide for developing device drivers under the title:

"Developing a Device Driver > Device Driver Development How-to Topics > How to Create a Device Driver"




I think what you really need is to start with something simple, and attend a training course on using platform builder.

Steve Maillet he often posts about his company has online training courses (http://www.embeddedfusion.com/Training.htm) maybe that would be suitable for you.

(BTW: I don't know Steve but I am aware of his deep CE knowledge from this group and eMVP events).

Geoff
--



ADA wrote:
Hello. Can anyone please clarify following points?
1)I am writing a USB function client driver which sits above PDD and
MDD and uses interfacea
lpStartDevice,UfnInitializeInterface,lpIssueTransfer etc. This client
driver is a stream interface driver and talks to the bulk endpoint. How
and where should I place my project files? Should the project be a
Simple Dll project? If I opt Dll project can I access the MDD
functions?
2)I have tried to put my project files in
C:\WINCE500\PUBLIC\COMMON\OAK\DRIVERS\USBFN\CLASS\<Mydriver>. The build
was success. How to make the Platform builder to include this driver in
the OS built?

3) common.reg file contains entry for all USB clients like mass
storage,serial,RNDIS etc. But the final OS designs Registry contains
only Mass storage. How is it possible?
I am not finding proper documentation in Platform builder. Please Help

Thank you.

.



Relevant Pages

  • Re: Platform Builder templates for CE 2003 & CE 5.0?
    ... it probably looks like an NDIS network adapter of type USB ... ability to act as a mass storage device; you have to replace USB RNDIS with ... Do I need Platform Builder to build device driver DLLs for Pocket PC ...
    (microsoft.public.windowsce.embedded)
  • Re: WCETK
    ... if you build an image that contain CETK client, ... I have developed my own USB device driver using ... > CETK contained in Platform Builder is very suitable. ... I have put the clientside.exe to my target device, ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Cant debug output from Visual Studio 2005 with Platform Builder WM50
    ... be deployable from VS2005 and set up the device driver with breakpoints set ... Because my app needs to communicate with device driver, ... I'm developing WM50 PPC with Platform Builder for Windows Mobile 5.0. ... their workaround is availble for only Platform Builder for Windows ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Running Hash Function on a WM6.0 device driver
    ... in the device driver from the previous release. ... Anyway coming to the point we are developing a product for our client ... Client is not worried abt the WM side but on the BaseBand side. ...
    (microsoft.public.windowsce.embedded.vc)
  • Re: Running Hash Function on a WM6.0 device driver
    ... What is the "BaseBand side". ... in the device driver from the previous release. ... Anyway coming to the point we are developing a product for our client ... Client is not worried abt the WM side but on the BaseBand side. ...
    (microsoft.public.windowsce.embedded.vc)