Re: again "customer shell" problem

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Philipp Stampfl (stampfl_at_audite.at)
Date: 06/02/04


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
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>



Relevant Pages

  • Re: Replacing Explorer shell with custom application...
    ... I don't quite see the point of creating a new shell to do what you describe. ... The managed code run-time assumes that everything that it might ... we need to get our launcher program to run on startup of the system. ... some API functions ??? ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Any indies in this group?
    ... >When I read the first NDA I ever signed from a game company, ... expiring) had to sign an NDA with a third party outfit providing some ... break* their utility in the implementation of very basic customer demanded ... with a VPN provider that was contracted to provide a command line launcher ...
    (comp.sys.ibm.pc.games.strategic)
  • Re: Hello gnome-terminal
    ... Launcher may spawn a new shell to execute your program. ... > I see the expected results in the same gnome-terminal window. ... > However starting this same script via a launcher in a panel, ...
    (comp.lang.python)
  • Re: pausing system clock
    ... I would like to add I do not think my customer is intending use the code ... The requirement is to create an application launcher for WinXP ... Tim Roberts, timr@xxxxxxxxx ...
    (microsoft.public.win32.programmer.kernel)
  • Re: CustomShell Not Launching
    ... > I also tried to get myapp.exe running as customer shell, ... > Do you guys use console applications as launcher app or standard windows ...
    (microsoft.public.windowsxp.embedded)