Hi,

Don't know whether any body will be able to help. I am using CreateProcess() to open another application from mine.

The application that is opening has a splash screen. What I need to do is wait for the program to open and then send some keyboard messages.

I am currently using Sleep() to wait for a number of seconds while the application loads. My problem is that the Splash Screen stays until my Sleep() call is over. If I sleep for 1 second or 30 seconds.

Does anybody know why? and how to solve the problem?

Thanks