Jump to content

Startup exe problem...


Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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?

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...