The product we are working on allows the user to easily configure it to automatically start each time the computer starts. This is useful because the product is part of the core work environment of most of our users.
This function was implemented not so long ago, and for a while everything was fine, but when we started testing this function in Vista, the product began to behave very strange at startup. In particular, our product uses another product (lets call it X), which it launches when it needs its services. The actual problem is that whenever X starts immediately after logging in, it resets or reports critical errors related to disk access (this happens even when X starts directly, and not through our product).
This happens whenever we launch our product by registering it in “Run” in the registry or by placing the “Startup” folder in it in the “Start Menu”, even if we set a delay of ~ 20 seconds before the actual start of the launch. When we changed the delay to 70 seconds, everything is fine.
We tried to reproduce the problem by launching our product manually immediately after entering the system (by double-clicking on the shortcut located on the desktop), but to no avail.
Now, how is it possible that applications that start normally a minute after logging in report such hard errors on startup right after logging in?
windows-vista virtual-pc
Hershi
source share