Re: WinCE 6.0 + CF Card Issue

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



Huh? It has always been true that if your app is dependent on the explorer
shell and the explorer shell isn't running that you will have problems. Did
you test it?

--
Bruce Eitman (eMVP)
Senior Engineer
beitman AT applieddata DOT net

Applied Data Systems
www.applieddata.net
An ISO 9001:2000 Registered Company
Microsoft WEP Gold-level Member

"Youraputz" <Youraputz@xxxxxxxxx> wrote in message
news:1180108387.301771.93100@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
1. This may be true in CE 6.0, but it was not the case in CE 5.0. If
it is true is there anything that can be done about it? It almost
seems like explorer is setting up some sort of admin access which is
missing when explorer is not present.

2. Timing is not an issue, I've waited multiple minutes before trying
to access the CF card.

On May 25, 11:03 am, "Bruce Eitman [eMVP]"
<beitman.nos...@xxxxxxxxxxxxxxxxxxxxxx> wrote:
This question is fairly common. There are two possible causes:

1. Your application is dependant on the explorer shell, which you can
test
by leaving the explorer shell in the init key along with your app.

2. The APIs/Drivers that your app is dependent on are not ready yet,
which
you can test by putting a delay of a few seconds in your app when it
starts.

--
Bruce Eitman (eMVP)
Senior Engineer
beitman AT applieddata DOT net

Applied Data Systems
www.applieddata.net
An ISO 9001:2000 Registered Company
Microsoft WEP Gold-level Member

"Youraputz" <Yourap...@xxxxxxxxx> wrote in message

news:1180103782.926041.125960@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

I am running WinCE 6.0 on a PXA270 processor. I currently have the
system set up so that instead of launching explorer, I instead run my
own launcher via HKEY_LOCAL_MACHINE\Init. This launcher (written in
VS2005, .netcf) then determines if it should launch explorer (if i
want the standard shell) or my custom application (to be seen by
customers). Part of the custom application reads/writes/deletes files
on a compact flash driver.

If I choose to start explorer at startup and then run my application
from within windows, everything works just fine. However, if instead
I run my custom application directly from the launcher I am unable to
access the CF card. Functions like Directory.Create and
Directory.Delete throw IOExceptions. This does not happen in WinCE
5.0 and I'm guessing it is some sort of permission issue in CE 6 when
explorer is not running.

Any suggestions?




.



Relevant Pages

  • Re: WinCE 6.0 + CF Card Issue
    ... missing when explorer is not present. ... by leaving the explorer shell in the init key along with your app. ... own launcher via HKEY_LOCAL_MACHINE\Init. ... Part of the custom application reads/writes/deletes files ...
    (microsoft.public.windowsce.platbuilder)
  • Re: WinCE 6.0 + CF Card Issue
    ... Your application is dependant on the explorer shell, ... own launcher via HKEY_LOCAL_MACHINE\Init. ... Part of the custom application reads/writes/deletes files ...
    (microsoft.public.windowsce.platbuilder)
  • Difficulties invoking Explorer as a shell...
    ... Explorer shell for a small window of time. ... Because of the second condition my ... and then invoking explorer. ...
    (microsoft.public.windowsxp.embedded)
  • RE: Shell Unexpectedly Stopped - Explorer Restart
    ... >During file operations locally, the Explorer shell will ... >stop and Explorer will restart. ... "Your Windows 2000-based client computer stops responding when you ...
    (microsoft.public.win2000.general)
  • Re: Can not find recordable drive
    ... CDBurn interface implementation, part of the shell32, relies on some registry entries being populated by the Explorer shell. ... Launch your shell app as a full screen app using Explorer shell. ...
    (microsoft.public.windowsxp.embedded)