Re: depend and launch in init registry
From: Paul G. Tobey [eMVP] (ptobey)
Date: 11/01/04
- Next message: Nick: "Re: Cisco aironet 350 in a cardbus slot"
- Previous message: Actronic: "Re: Platform builder emulator and VS.NEt 2003"
- In reply to: Kursad: "Re: depend and launch in init registry"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 1 Nov 2004 13:43:58 -0700
That's a pretty backward way of fixing things. It's a lot more maintainable
to actually fix the problem, rather than spin your wheels looking for ways
to work around it which might fail at any moment.
I suppose that you could launch your startup program at any time in the
launch sequence and wait for IsAPIReady( SH_WMGR ) or something like that
before trying to reset the display. I don't know how you're going to
effectively handle all of the bad stuff that could occur if you do that
while drawing is in progress, etc.
Paul T.
"Kursad" <Kursad@discussions.microsoft.com> wrote in message
news:BC22EE8C-87FD-4960-A233-83371DE8B3A9@microsoft.com...
>
> I looked at the descriptions on the website. I thought they would be more
> up
> to date and detailed but I guess I was wrong.
>
> As for creating a named event, unfortunately I don't have the source code
> of
> the video driver so that's not an option. If I had the source, I could
> have
> fixed the glitch directly.
>
> Regards,
> kursad
>
> "Paul G. Tobey [eMVP]" wrote:
>
>> Did you even look in the Platform Builder help? I searched on <launch
>> init>
>> in the 4.2 help and one of the seven results gave a very clear
>> description
>> of what the keys and values mean.
>>
>> Both of your assumptions about the key meanings are wrong, by the way.
>>
>> Paul T.
>>
>> "Kursad" <Kursad@discussions.microsoft.com> wrote in message
>> news:47E7B5C2-EE30-408F-AA18-79CD276BF5E6@microsoft.com...
>> > Hi,
>> > Can anyone explain the semantics of "dependXX" and "launchXX" in the
>> > registry key HKEY_LOCAL_MACHINE/init? Specifically:
>> > 1. LaunchXX tells the order to launch these applications, is that
>> > correct?
>> > 2. DependXX says "If the dependent application doesn't exist, don't
>> > launch
>> > this one either". Is that correct?
>> >
>> > Basically, the problem I'm trying to solve is this: The video driver
>> > has a
>> > problem with resetting. As a workaround, I need to launch an
>> > application
>> > during startup that will reset the video. However, this application has
>> > to
>> > run after the video driver finishes its initialization. The windows
>> > screen
>> > comes up after the initialization is complete, so I made my video reset
>> > application to run after (and it is dependent on) explorer.exe. Is
>> > there a
>> > better way to do this? Is there a way to find out if the video driver
>> > has
>> > completed its initialization?
>> > Thanks a lot!
>>
>>
>>
- Next message: Nick: "Re: Cisco aironet 350 in a cardbus slot"
- Previous message: Actronic: "Re: Platform builder emulator and VS.NEt 2003"
- In reply to: Kursad: "Re: depend and launch in init registry"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|