Hi all,
I want my application be launched and running at startup of Windows CE. To
provide this I added the following to my platform.reg file:

[HKEY_LOCAL_MACHINE\Init]
"Launch60"="myapp.exe"
"Depend60"=hex:1E,00,32,00

My application starts with a password screen. Username and password are
entered and when OK is pressed these are checked from a user database which
resides on a permanent storage folder. If they are correct a splash screen
is shown and the application is started. With these registry settings the
password dialog is shown, but when I enter the username and password and
press OK, the following message box is displayed:

60 was not found.

What is the reason for this? The password dialog is displayed so
InitInstance is called for my app, but password check cannot be done. Do I
need to check something else for the database? Is it because I'm using a
permanent storage folder for the database?

TIA,

--
Selin Metin
selinm_at_esit_dot_com_dot_tr

Re: Launch application at startup by Nac

Nac
Wed Jul 28 04:34:38 CDT 2004


"Selin Metin" <nospam@nospam.com.tr> wrote in message
news:uGa$vCIdEHA.1040@TK2MSFTNGP10.phx.gbl...
> Hi all,
> I want my application be launched and running at startup of Windows CE. To
> provide this I added the following to my platform.reg file:
>
> [HKEY_LOCAL_MACHINE\Init]
> "Launch60"="myapp.exe"
> "Depend60"=hex:1E,00,32,00
>
> My application starts with a password screen. Username and password are
> entered and when OK is pressed these are checked from a user database
which
> resides on a permanent storage folder. If they are correct a splash screen
> is shown and the application is started. With these registry settings the
> password dialog is shown, but when I enter the username and password and
> press OK, the following message box is displayed:
>
> 60 was not found.
>
> What is the reason for this? The password dialog is displayed so
> InitInstance is called for my app, but password check cannot be done. Do I
> need to check something else for the database? Is it because I'm using a
> permanent storage folder for the database?
>
> TIA,
>
> --
> Selin Metin
> selinm_at_esit_dot_com_dot_tr
>
>
Could it be that the storage device isn't yet ready?
Have a look in the debug output, storage may be being scanned for errors.



Re: Launch application at startup by Selin

Selin
Wed Jul 28 05:17:54 CDT 2004

Probably the cause is that device.exe is signalling that it is finished but
the loading of the trueffs.dll for my diskonchip is not finished, so my
application can display the password dialog but cannot check for the
database. Since the application's dependency is device.exe, there's nothing
wrong according to the registry settings.

I could come over this by putting a lnk file for my application in
\Windows\Startup folder. This way everything is started and every driver is
loaded before my application starts.



"Nac McFeegle" <Nospam@nowhere.com> wrote in message
news:ecKAPYIdEHA.3896@TK2MSFTNGP10.phx.gbl...
>
> "Selin Metin" <nospam@nospam.com.tr> wrote in message
> news:uGa$vCIdEHA.1040@TK2MSFTNGP10.phx.gbl...
> > Hi all,
> > I want my application be launched and running at startup of Windows CE.
To
> > provide this I added the following to my platform.reg file:
> >
> > [HKEY_LOCAL_MACHINE\Init]
> > "Launch60"="myapp.exe"
> > "Depend60"=hex:1E,00,32,00
> >
> > My application starts with a password screen. Username and password are
> > entered and when OK is pressed these are checked from a user database
> which
> > resides on a permanent storage folder. If they are correct a splash
screen
> > is shown and the application is started. With these registry settings
the
> > password dialog is shown, but when I enter the username and password and
> > press OK, the following message box is displayed:
> >
> > 60 was not found.
> >
> > What is the reason for this? The password dialog is displayed so
> > InitInstance is called for my app, but password check cannot be done. Do
I
> > need to check something else for the database? Is it because I'm using a
> > permanent storage folder for the database?
> >
> > TIA,
> >
> > --
> > Selin Metin
> > selinm_at_esit_dot_com_dot_tr
> >
> >
> Could it be that the storage device isn't yet ready?
> Have a look in the debug output, storage may be being scanned for errors.
>
>



Re: Launch application at startup by Paul

Paul
Mon Aug 02 14:00:03 CDT 2004

You could also arrange for notifications for filesystem events using
RequestDeviceNotifications() and then try to detect when the 'drive'
appears.

Paul T.

"Selin Metin" <nospam@nospam.com.tr> wrote in message
news:uLJrdvIdEHA.2752@TK2MSFTNGP12.phx.gbl...
> Probably the cause is that device.exe is signalling that it is finished
but
> the loading of the trueffs.dll for my diskonchip is not finished, so my
> application can display the password dialog but cannot check for the
> database. Since the application's dependency is device.exe, there's
nothing
> wrong according to the registry settings.
>
> I could come over this by putting a lnk file for my application in
> \Windows\Startup folder. This way everything is started and every driver
is
> loaded before my application starts.
>
>
>
> "Nac McFeegle" <Nospam@nowhere.com> wrote in message
> news:ecKAPYIdEHA.3896@TK2MSFTNGP10.phx.gbl...
> >
> > "Selin Metin" <nospam@nospam.com.tr> wrote in message
> > news:uGa$vCIdEHA.1040@TK2MSFTNGP10.phx.gbl...
> > > Hi all,
> > > I want my application be launched and running at startup of Windows
CE.
> To
> > > provide this I added the following to my platform.reg file:
> > >
> > > [HKEY_LOCAL_MACHINE\Init]
> > > "Launch60"="myapp.exe"
> > > "Depend60"=hex:1E,00,32,00
> > >
> > > My application starts with a password screen. Username and password
are
> > > entered and when OK is pressed these are checked from a user database
> > which
> > > resides on a permanent storage folder. If they are correct a splash
> screen
> > > is shown and the application is started. With these registry settings
> the
> > > password dialog is shown, but when I enter the username and password
and
> > > press OK, the following message box is displayed:
> > >
> > > 60 was not found.
> > >
> > > What is the reason for this? The password dialog is displayed so
> > > InitInstance is called for my app, but password check cannot be done.
Do
> I
> > > need to check something else for the database? Is it because I'm using
a
> > > permanent storage folder for the database?
> > >
> > > TIA,
> > >
> > > --
> > > Selin Metin
> > > selinm_at_esit_dot_com_dot_tr
> > >
> > >
> > Could it be that the storage device isn't yet ready?
> > Have a look in the debug output, storage may be being scanned for
errors.
> >
> >
>
>