Re: Can't CreateProcess from custom shell
- From: "Dave Cogley" <DaveCogley@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 31 Jan 2006 11:09:27 -0800
It turns out that the executables were "blocked" by Windows. Prompting
whether the file should be executed or not. I have the "EnableDefaultReply"
enabled in my image which was telling Windows to not execute the application.
I was able to "unblock" the exe's and everything is working great.
Thank You
"KM" wrote:
> Dave,
>
> Well.. Dependencies are the first place you should look at.
>
> Then keep in mind that you specify the correct working directory path to launch your application. Obviously, notepad would be less
> of the problem here.
>
> Where is located your INI file? How are you sure your custom shell app reads the settings from the INI file properly? (important
> settings are e.g. WorkingDir)
>
> Also, make sure your application doesn't rely on some custom locations for some Dlls (like \Program files\..., etc.). I don't think
> you have set up Path environment variable.
>
> --
> =========
> Regards,
> KM
>
>
> > OK I was able to execute notepad. So it looks like I have another problem.
> > Possibly a dependency problem with the application I am trying to execute.
> >
> > Thank You
> >
> > "KM" wrote:
> >
> >> Dave,
> >>
> >> Can you show us the exact CreateProcess call you are making?
> >> What the current directory parameter you are passing in there?
> >> Did you try to launch some "easy-to-launch" processes like Notepad or etc.?
> >>
> >> --
> >> =========
> >> Regards,
> >> KM
> >>
> >> > Hello,
> >> >
> >> > I am trying to Invoke another process located on my XPe image by calling
> >> > CreateProcess. The call to CreateProcess succeeds without error but the
> >> > process is never started. I am using Minlogon and my Custom shell.
> >> >
> >> > Thanks
> >>
> >>
> >>
>
>
>
.
- References:
- Prev by Date: User Interface Core
- Next by Date: Re: Keeping Windows embedded up to date
- Previous by thread: Re: Can't CreateProcess from custom shell
- Next by thread: Signing massstorage driver during setup
- Index(es):
Relevant Pages
|