Re: WinCE 6.0 + CF Card Issue
- From: "Bruce Eitman [eMVP]" <beitman.nospam@xxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 25 May 2007 12:01:10 -0400
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?
.
- Follow-Ups:
- Re: WinCE 6.0 + CF Card Issue
- From: Youraputz
- Re: WinCE 6.0 + CF Card Issue
- References:
- WinCE 6.0 + CF Card Issue
- From: Youraputz
- Re: WinCE 6.0 + CF Card Issue
- From: Bruce Eitman [eMVP]
- Re: WinCE 6.0 + CF Card Issue
- From: Youraputz
- WinCE 6.0 + CF Card Issue
- Prev by Date: Re: GPRS dial up in Windows CE
- Next by Date: Re: NIC fails in RELEASE build CE 5.0
- Previous by thread: Re: WinCE 6.0 + CF Card Issue
- Next by thread: Re: WinCE 6.0 + CF Card Issue
- Index(es):
Relevant Pages
|