Re: Application starts too soon
- From: "KM" <konstmor@xxxxxxxxxxxxxxxx>
- Date: Thu, 14 Apr 2005 19:07:06 -0700
SteveS,
It sounded like your application is a batch file (or you call the application form a batch file)? How do you start the batch?
If it is the batch file that does not start, use "cmd.exe /C <your_batch.bat>" command style to launch it.
If it is the application (exe), then you would need to understand why the application fails to run (dependencies, etc.). Can you
launch the exe from the command prompt?
Since we don't know anything about your app, it is hard to advise.
--
Regards,
KM, BSquare Corp.
PS. I wouldn't use "sleep" patch. It is always unreliable solution and will fail time to time when things (OS, hardware, software)
change.
> First off thanks for all the help that got me this far! Got EWF working with
> CF, sized the image down to fit the CF, etc. I now have an XPE image that can
> boot to a command prompt (dosn't sound like much, but it took a while to get
> there).
>
> Anyway, my hope is to have the application start up after the command prompt
> appears. I used the RunOnce Resource (put a batch file under the Run
> registry value). Problem is it seems to start up before the command prompt
> appears, and it fails since, when the prompt arrives, no application is
> running. I know it tries to start since I have a video frame grabber and it's
> window pops up during the "Welcome" screen. I had a similar problem with
> Embedded NT, and a short sleep command (5 secs) in the batch file worked.
> Doesn't seem to help here - tried up to 60 seconds!
>
> So what do I do? I would like to keep the command prompt shell (at least
> for now) so I can exit my program and run some commands to copy files etc.
>
> Thanks,
>
> SteveS
>
>
>
>
.
- Follow-Ups:
- Re: Application starts too soon
- From: SteveS
- Re: Application starts too soon
- References:
- Application starts too soon
- From: SteveS
- Application starts too soon
- Prev by Date: Application starts too soon
- Next by Date: Re: Stop 7B post-FBA reboot
- Previous by thread: Application starts too soon
- Next by thread: Re: Application starts too soon
- Index(es):
Relevant Pages
|