detect if operation system to initialize completely ...

Everything else that doesn't fall into one of the other PB categories.
User avatar
bingo
Enthusiast
Enthusiast
Posts: 210
Joined: Fri Apr 02, 2004 12:21 pm
Location: germany/thueringen
Contact:

detect if operation system to initialize completely ...

Post by bingo »

how can a program (api ...) detect if operation system (xp) to initialize completely ?

the problem:
The delay allows the operation system to initialize completely; this prevents the problems—such as Remote Procedure Call (RPC) errors—that can occur if a setup initializes before the operating system has initialized completely. (for example, by using the RunOnce key)

maybe delay(any_time) ... but better with detection (different delay for slow or fast computer) .
["1:0>1"]
User avatar
Droopy
Enthusiast
Enthusiast
Posts: 658
Joined: Thu Sep 16, 2004 9:50 pm
Location: France
Contact:

Post by Droopy »

Search "explorer.exe" process ?
dell_jockey
Enthusiast
Enthusiast
Posts: 767
Joined: Sat Jan 24, 2004 6:56 pm

Post by dell_jockey »

Droopy wrote:Search "explorer.exe" process ?
Nope, that would be too early... After the explorer process exists, the OS is still loading other modules, especially those whose icons show up on the bottom right of the task bar.
On clean server installs, where such modules might not be loaded, your method might have merit, I don't know. Have to check that...
cheers,
dell_jockey
________
http://blog.forex-trading-ideas.com
Fred
Administrator
Administrator
Posts: 18351
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

you can delay until the rpc call doesn't returns an error ?
User avatar
Droopy
Enthusiast
Enthusiast
Posts: 658
Joined: Thu Sep 16, 2004 9:50 pm
Location: France
Contact:

Post by Droopy »

http://www.windowsitpro.com/Article/Art ... .html?Ad=1

If you know the last service launched, you monitor it's status, when Stated the Operating System is Initialised ? ( Monitoring Services Status is easy with PBOSL )

Another solution is Monitoring CPU Activity ?
Post Reply