Re: XXX_Init only being called once
- From: "Thomas Magma" <somewhere@xxxxxxxxxxxxxxxxxx>
- Date: Tue, 8 Nov 2005 18:36:26 -0800
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
>
>
.
- Follow-Ups:
- Re: XXX_Init only being called once
- From: David Liao \(MS\)
- Re: XXX_Init only being called once
- From: Steve Maillet \(eMVP\)
- Re: XXX_Init only being called once
- References:
- Re: XXX_Init only being called once
- From: Andy Shi
- Re: XXX_Init only being called once
- From: Steve Maillet \(eMVP\)
- Re: XXX_Init only being called once
- Prev by Date: RE: Help ! About PCCARD serial driver on WinCE 5.0
- Next by Date: Re: Standard Bus controller driver. Does any one ever succeed in using sdhc.dll bus driver?
- Previous by thread: Re: XXX_Init only being called once
- Next by thread: Re: XXX_Init only being called once
- Index(es):
Relevant Pages
|