Jump to content
Sign in to follow this  
giannis121

Startup exe problem...

Recommended Posts

giannis121

I have made an exe file that starts an application when the pc is starting.

This application first shows a bitmap for a few seconds (while loading) and then starts normal.

The problem is when it runs by itself (from the startup) the bitmap is shown black the first time.

I have tried ProcessWait and have checked all the processes but still the same.

If i use a pause (like sleep) a long time (20sec), it starts good.

But i want the application to start immediately after desktop is ready.

The OS is Win7.

Any ideas will help!

Thank you,

Giannis

Share this post


Link to post
Share on other sites
kiboost

Is the bitmap accessible when windows start ? Not yet connected shared network drive comes to mind.


Win7 pro x64. scripts compiled to x64. - Autoit v3.3.6.1 | Scite 1.79

Share this post


Link to post
Share on other sites
giannis121

What are you checking for?

I got inside Task Manager and checked some executables running by windows,

like csrss.exe, explorer.exe, winlogon.exe (of course i don't know what each do),

but was just a thought.

Maybe i should wait until something that has to do with the screen will be loaded

and then start my application.

Any ideas?

Giannis

Share this post


Link to post
Share on other sites
giannis121

Is the bitmap accessible when windows start ? Not yet connected shared network drive comes to mind.

The bitmap is accessible in normal conditions. I don't know if it is when windows start...

It is placed on the same drive with the application.

And how can i check when the shared network is ready?

Share this post


Link to post
Share on other sites
giannis121

I found a solution by using the code of this post:

Thank you very much!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×