Re: Lots of easy questions about drivers/linking

From: Andrew (anonymous_at_discussions.microsoft.com)
Date: 03/11/04


Date: Wed, 10 Mar 2004 17:41:05 -0800

Hi Steve.

1) I guess I may be assuming too much. We have a device
that needs to be running 99.99% percent of the time. I
want to be able to download new driver and application
versions to my target without restarting the target. I
know the other RTOSs that I have worked on have had this
facility and I guess I just assumed that WinCE could do
this as well. Can I stop (or pause) any process accessing
a DLL, replace the DLL and restart the process?

2) The problem is that I am porting the RNE_MDD and a
PXA255 USB RNDIS PDD. I have compiled the PDD component
as a static library and linked it into my MDD (dll).
Maybe I should compile the lot into a lib and then have a
skeleton driver that links it and creates a dll?

Cheers, Andrew

>-----Original Message-----
>1) You can't update MODULES in ROM they way it sounds
like you want. Can you
>be more specific about the scenario you are after?
>2) To use the same code in a boot loader and as a full
driver you create a
>library that has the core device code and link that into
the boot loader you
>then have the full device driver interface and multi-
threading
>synchronization etc... build as a dll that also links to
the static library
>to pull in the code common to both.
>
>--
>Steve Maillet (eMVP)
>Entelechy Consulting
>smaillet_AT_EntelechyConsulting_DOT_com
>
>
>.
>



Relevant Pages

  • Re: Problems with printing
    ... When I compile my program, I get a warning saying "More than one global ... if the device driver is a dll which you ... pass heap allocated data between dll and app you can get crashes. ...
    (microsoft.public.vc.mfc)
  • Re: VBA and VSTO
    ... If you compile in VB6 with Global MultiUse than all you have to do is set a reference in Excel to your dll via Tools, References and you can access your functions in the dll directly. ... You will have to register the dll as well with Windows with Regsvr32, but that can be done quite simply in VBA. ...
    (microsoft.public.excel.programming)
  • Re: FTDI USB Serial Drivers
    ... The DLL accesses the inf for setup ... from the FTDI driver readme: ... Notes on INF files ... particular VID and PID requires access to a registry editor which (unlike ...
    (microsoft.public.windowsce.platbuilder)
  • Re: FTDI USB Serial Drivers
    ... The DLL accesses the inf for setup ... from the FTDI driver readme: ... Notes on INF files ... particular VID and PID requires access to a registry editor which (unlike ...
    (microsoft.public.windowsce.platbuilder)
  • Re: HOW CAN I OPEN A COM PROJECT COMPILED IN VS2005, IN VS2003?
    ... I keep getting the .exe output when I compile in the VC7. ... the General Configuration Type to be .dll in the Project Property. ... Microsoft MVP, MCSD ... instead create my own folders for file grouping... ...
    (microsoft.public.win32.programmer.ole)