run application at power up

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

When my XPe boot, I want to launch my application (dos mode)

I have created a compenent (including dll), and during this creation on
"compotement designer" I check runonce, whit flag=0.

after FBA the HKLM\.....\ run... is fill correctly.

afterboot, no application active???
If I change the name of mydll.dll to mydll.zzz, during boot I have a
message error, mydll.dll is missing please reinstal......

Please where is my error!

regards
 
Hi,

1. Have you tried if you can execute your application from command prompt after XPe is booted?
2. mydll.dll is this dll statically linked with your application?
3. Do you use minlogon or winlogon?
4. Are you sure that your application did not terminate itself because some service/driver that it use is not available yet?

Regards,
Slobodan
 
Slobodan Brcin (eMVP) said:
Hi,

1. Have you tried if you can execute your application from command prompt after XPe is booted?
2. mydll.dll is this dll statically linked with your application?
3. Do you use minlogon or winlogon?
4. Are you sure that your application did not terminate itself because some service/driver that it use is not available yet?

Regards,
Slobodan
1/ Yes I have try it before and after modify the registry, firts test wac
done without create the compotement.
2/ I am harward/firmware maker, I have done the ddl for my customer an
application writter, the dll is a "information pakager" for an external
device .
3/ minlogon
4/ When a big driver (cardreader) is not load I have a same error message,
the other part is TCP/IP the system is black box, with card reader, specific
remote display and TCP/IP connection to some syster system and SQLsever.
 
Hi,

Try putting some messagebox on the beginning of your application. So you will gain two things from this.
1. You will verify if your application is started.
2. You will add enough of delay to make sure that everything is loaded.

Let us know if this help.

Regards,
Slobodan
 
Hi Slobodan,

Thank for your help.

I have wrote a small application "loaderXPe.exe", this is very nice to loose
lot of time... and to mantaine the windows open to see error message :

If iI launch direct the real-application some driver is not aviable.
If I wait less than 20 seconde after full boot(loaderXPe loose 25 sec), on
driver is loaded, but the device is not ready...
One parrametre files was in the application directory, and the application
look for it in current directory, windows\system32

The time between the HKLC....run and the full boot is arround 7 secondes

This item is close!

Thanks,

Regards,

Eric
 
Loose more time becam a feature of our product... it's some time for the
"technician" to have a cmd.exe acces for configuration activity...
yesterday the customer has califified the sample!
Next week I will try your idea, and comme back to you.

Regards,
Eric
 
Back
Top