PC Review


Reply
Thread Tools Rate Thread

Booting is done - variable

 
 
=?Utf-8?B?SmFuIEhhcm1hbg==?=
Guest
Posts: n/a
 
      17th Oct 2006
Hello!
I use my application as shell. Problem is, that application starts about 25
seconds before booting is done. So, some drivers are still not installed and
application does not start correctly. Can I check some system variable when
booting is completly done?
Thank you.
Honza
 
Reply With Quote
 
 
 
 
Mike Warren
Guest
Posts: n/a
 
      17th Oct 2006
Jan Harman wrote:

> I use my application as shell. Problem is, that application starts
> about 25 seconds before booting is done. So, some drivers are still
> not installed and application does not start correctly. Can I check
> some system variable when booting is completly done?


This has been asked several times before. The standard answer so far,
been no.

What most people do is try the thing that they are waiting for and
silently handle the error until it either succeeds or a period of time
has elapsed.

--
Mike
 
Reply With Quote
 
KM
Guest
Posts: n/a
 
      17th Oct 2006
There is no particular flag in WIndows that can tell you the system is booted. Simply becuase some components are goign to be loaded
and initialized late at the boot process , sometimes during, sometimes after Winlogon is loaded. E.g., TCP/IP stack, etc.

You can use CMP_WaitNoPendingInstallEvents API in your app to wait until all the driver installation are complete.

And obviously, you can wait for some services that your app depends on.


--
=========
Regards,
KM

> Hello!
> I use my application as shell. Problem is, that application starts about 25
> seconds before booting is done. So, some drivers are still not installed and
> application does not start correctly. Can I check some system variable when
> booting is completly done?
> Thank you.
> Honza



 
Reply With Quote
 
=?Utf-8?B?SmFuIEhhcm1hbg==?=
Guest
Posts: n/a
 
      18th Oct 2006
Thank you for your replies.
I solved it this way:
After winlogon ("Welcome") disappears, windows send to my app message 136
(WM_SYNCPAINT). After I receive this message, I can continue running my app.
Then I redirect messages to default WndProc. Is seems to work correctly.
Regards
Jan

"Jan Harman" wrote:

> Hello!
> I use my application as shell. Problem is, that application starts about 25
> seconds before booting is done. So, some drivers are still not installed and
> application does not start correctly. Can I check some system variable when
> booting is completly done?
> Thank you.
> Honza

 
Reply With Quote
 
Paolo Dematteis
Guest
Posts: n/a
 
      18th Oct 2006
Maybe you can set the missing drive to start as System instead of Automatic.


"Jan Harman" <Jan (E-Mail Removed)> ha scritto nel messaggio
news:7C24E469-BE0C-4BBE-8BBB-(E-Mail Removed)...
> Thank you for your replies.
> I solved it this way:
> After winlogon ("Welcome") disappears, windows send to my app message 136
> (WM_SYNCPAINT). After I receive this message, I can continue running my
> app.
> Then I redirect messages to default WndProc. Is seems to work correctly.
> Regards
> Jan
>
> "Jan Harman" wrote:
>
>> Hello!
>> I use my application as shell. Problem is, that application starts about
>> 25
>> seconds before booting is done. So, some drivers are still not installed
>> and
>> application does not start correctly. Can I check some system variable
>> when
>> booting is completly done?
>> Thank you.
>> Honza



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SqlConnection Object in Application Variable OR Session Variable OR open/close pratham Microsoft ASP .NET 3 31st Aug 2006 08:26 PM
remote booting /Network booting From Win2003 Server vysakh@gmail.com Windows XP Embedded 3 10th Feb 2006 07:09 AM
Dual Booting - Possibly Tri-Booting? AlleyCat Windows XP General 11 29th Aug 2004 12:50 AM
Dual Booting - Possibly Tri-Booting? AlleyCat Microsoft Windows 2000 5 28th Aug 2004 02:06 PM
Re: Dual Booting - Possibly Tri-Booting? AlleyCat Windows XP General 0 28th Aug 2004 03:51 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:36 AM.