Re: again "customer shell" problem
From: Philipp Stampfl (stampfl_at_audite.at)
Date: 06/02/04
- Next message: Mateus Gr: "Re: Scanner USB in XP-E"
- Previous message: Philipp Stampfl: "Re: CustomShell Not Launching"
- Next in thread: Slobodan Brcin \(eMVP\): "Re: again "customer shell" problem"
- Reply: Slobodan Brcin \(eMVP\): "Re: again "customer shell" problem"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 2 Jun 2004 14:27:15 +0200
Hi Slobodan!
My current problem is, that my launcher application does start as customer
shell. But it then can not start my real application using createprocess().
When I tell the launcher application to start notepad.exe, then it works.
The only difference to my application is, that it opens a config file on
startup. Can this be a problem when starting a programm as customer shell?
When I execute my application using the taskmanager and the "new task"
option it works fine! It also works if I start the launcher application
using the taskmanager and letting it open myapp.exe that opens a config file
on startup!
Please help!
Phil
"Slobodan Brcin (eMVP)" <sbrcin@ptt.yu> schrieb im Newsbeitrag
news:#P9srZMREHA.2972@TK2MSFTNGP09.phx.gbl...
> Hi Philipp,
>
> Don't use ShellExecute use CreateProcess instead.
>
> Regards,
> Slobodan
>
>
> "Philipp Stampfl" <stampfl@audite.at> wrote in message
news:eOZm$rLREHA.3504@TK2MSFTNGP09.phx.gbl...
> > Hi Slobodan!
> >
> > Can you attach the cfgmgr32.h for me, which I need to compile my
application
> > using the suggested CMP_WaitNoPendingInstallEvents function.
> >
> > Thanks!
> >
> > Philipp
> >
> >
> > "Slobodan Brcin (eMVP)" <sbrcin@ptt.yu> schrieb im Newsbeitrag
> > news:uCFiHYLREHA.556@tk2msftngp13.phx.gbl...
> > > Try: CMP_WaitNoPendingInstallEvents
> > >
> > >
> >
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&q=CMP_WaitNoPendingInstal
> > lEvents&btnG=Search&meta=group%3Dmicrosoft.public.windowsxp.embedded.*
> > >
> > > Regards,
> > > Slobodan
> > >
> > > "Philipp Stampfl" <stampfl@audite.at> wrote in message
> > news:e1TZNQLREHA.3140@TK2MSFTNGP11.phx.gbl...
> > > > Hi again!
> > > >
> > > > Last time Rick Thering gave me a hint, that my custom application
might
> > have
> > > > a timing problem when starting up as a default shell.
> > > > I tried starting up, using my myapp.exe as custom shell but no
> > application
> > > > was shown. I then started the task manager and manually started the
task
> > > > myapp.exe and it works.
> > > > So I then tried to create a small programm with only three lines of
> > code:
> > > >
> > > > Sleep(10000);
> > > > ShellExecute(myapp.exe);
> > > > exit(0);
> > > >
> > > > This app should be used as new customer shell, should start, wait
and
> > then
> > > > start the myapp.exe and terminate itself, but again no application
was
> > > > shown.
> > > >
> > > > Does anybody have another hint how to create a delayed startup for
my
> > > > customer shell application?
> > > >
> > > > Regards,
> > > >
> > > > Philipp
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>
- Next message: Mateus Gr: "Re: Scanner USB in XP-E"
- Previous message: Philipp Stampfl: "Re: CustomShell Not Launching"
- Next in thread: Slobodan Brcin \(eMVP\): "Re: again "customer shell" problem"
- Reply: Slobodan Brcin \(eMVP\): "Re: again "customer shell" problem"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|