Re: XXX_Init only being called once



Steve,

The previous was ignored thanks.

I've looked at several peoples PCMCIA stream type interface code, including
my own which I had functioning just fine on WM2002 and WM2003. The problem
is with WM2005 and the fact it's not calling XXX_Init each insertion of the
card. Only the first time after a PDA hard reset. It is like it's holding on
the driver somehow yet not showing it as being loaded in Process Viewer. The
reason I think this is because after I insert the card the first time and
remove it, I can't go in through Active Sync and erase my driver. A pop-up
says there is a sharing violation no matter if the card is in or out.
Something is holding on to it. It this something to do with Persistence
Storage? Perhaps a security feature due the fact my driver is not signed and
the OS only want to display the Unknown Manufacture pop-up window once, not
each time the driver is loaded when a card is inserted?

Any ideas?

Thomas


"Steve Maillet (eMVP)" <nospam1@xxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:%23T8i1uM5FHA.1252@xxxxxxxxxxxxxxxxxxxxxxx
> "You must know that XXX_Init only be called once when system load. You
> need
> change your design."
> Ignore that! For PCMCIA client drivers and any other PNP driver loaded and
> unloaded when the device is inserted/removed that is not true.
> You are correct in assuming the Init function should be called on each
> insert. Well, sort of, there is a PNPunload delay registry value that
> leaves things loaded for a period of time to allow you to re-insert the
> same card after accidentally popping it out without unloading or
> invalidating it. Rapid remove/insert cycles cause a problem for that.
>
> --
> Steve Maillet
> EmbeddedFusion
> www.EmbeddedFusion.com
> smaillet at EmbeddedFusion dot com
>
>


.



Relevant Pages

  • Re: NVidia 6800 Ultra
    ... >>help with what may be a compatability problem. ... >>accompanied with the driver supplied with the card and also tried ASUS's ... >> I also need to know how to view your reply, this is not the first time ...
    (microsoft.public.windowsxp.perform_maintain)
  • Re: NVidia 6800 Ultra
    ... I have also placed this card in all the other machines ... >accompanied with the driver supplied with the card and also tried ASUS's ... > I also need to know how to view your reply, this is not the first time ...
    (microsoft.public.windowsxp.perform_maintain)
  • Re: NVidia 6800 Ultra
    ... > accompanied with the driver supplied with the card and also tried ASUS's ... > will not work in 4 computers that I own and operate. ... > I also need to know how to view your reply, this is not the first time ...
    (microsoft.public.windowsxp.general)
  • Re: XXX_Init only being called once
    ... CardDeregisterClient() when our CF+ card is removed (for the first time) ... Our driver dll is being loaded properly and sits next to ...
    (microsoft.public.windowsce.platbuilder)
  • Re: ASUS V9999 Ultra / NVidea 6800 Ultra chipset
    ... Return the card or send in for a warranty repair is my suggestion. ... I have also placed this card in all the other machines ... > accompanied with the driver supplied with the card and also tried ASUS's ... > I also need to know how to view your reply, this is not the first time ...
    (microsoft.public.windowsxp.hardware)