Hi All,

I think someone monkeyed with a platform that I haven't touched in a
while. It was once working but now it does not. It boots to a blank
screen. After a while I figured out that the platform isn't actually
hanging, but the shell isn't loading explorer.

What's stranger is that explorer.exe is nowhere to be found! It's not
in \Windows on the device, and it's not in the release directory,
either.

The last part of my debug log looks like this (This is for CE4.2 by the
way):
Loaded symbols for
'C:\DEV\WINCE42\PUBLIC\M5\RELDIR\ADVANTECH_PCM9575DEBUG\COMMCTRL.DLL'
4294781885 PID:a3fb9e2a TID:63f4ca52 0x83ef9a48:
+OpenIFConfig(Comm\VMINI1\Parms\TCPIP Handle 0x617FB44)
4294781885 PID:a3fb9e2a TID:63f4ca52 0x83ef9a48: Opened registry info
for Comm\VMINI1\Parms\TCPIP
4294781885 PID:a3fb9e2a TID:63f4ca52 0x83ef9a48:
-OpenIFConfig(Comm\VMINI1\Parms\TCPIP *Handle 0x617FB44, BOOL Ret: 1)
4294781885 PID:a3fb9e2a TID:63f4ca52 0x83ef9a48: *CloseIFConfig(Handle
0x99900)
4294781885 PID:a3fb9e2a TID:63f4ca52 0x83ef9a48: IPAddAddrComplete: IF
D5FC0 ntecount 1, SAC 0
4294783933 PID:a3fb9e2a TID:e3ee8e82 0x83ee8ad0: DhcpWorkerThread:
loop 1: WaitList is 0x0
4294783933 PID:a3fb9e2a TID:e3ee8e82 0x83ee8ad0: -DhcpWorkerThread:
WaitList is 0x0

Even though the device boots to a blank screen, it's still active. I
can start the command shell, but I just don't have a taskbar and
desktop. Device, GWES, Filesys, Shell, etc. are all running.

Short of turning on all debug zones for the shell, I can't think of
anything else. Maybe there wasn't an explorer.exe in 4.2? Any ideas?

TIA,
Dan.

Re: Missing explorer.exe, missing desktop by ctacke/>

ctacke/>
Sat Aug 26 15:04:51 CDT 2006

Explorer.exe is the default shell, but there's no inherent requirement for
it. Sounds like it's been removed from the build. Not an unusual thing if
you want to write a replacement shell. If you want explorer back, re-add it
to the platform (or more likely find out where it's being expluded, and
remove that exclusion).

-Chris



"Dan McCarty" <dmccarty@gmail.com> wrote in message
news:1156621053.116678.158200@m73g2000cwd.googlegroups.com...
> Hi All,
>
> I think someone monkeyed with a platform that I haven't touched in a
> while. It was once working but now it does not. It boots to a blank
> screen. After a while I figured out that the platform isn't actually
> hanging, but the shell isn't loading explorer.
>
> What's stranger is that explorer.exe is nowhere to be found! It's not
> in \Windows on the device, and it's not in the release directory,
> either.
>
> The last part of my debug log looks like this (This is for CE4.2 by the
> way):
> Loaded symbols for
> 'C:\DEV\WINCE42\PUBLIC\M5\RELDIR\ADVANTECH_PCM9575DEBUG\COMMCTRL.DLL'
> 4294781885 PID:a3fb9e2a TID:63f4ca52 0x83ef9a48:
> +OpenIFConfig(Comm\VMINI1\Parms\TCPIP Handle 0x617FB44)
> 4294781885 PID:a3fb9e2a TID:63f4ca52 0x83ef9a48: Opened registry info
> for Comm\VMINI1\Parms\TCPIP
> 4294781885 PID:a3fb9e2a TID:63f4ca52 0x83ef9a48:
> -OpenIFConfig(Comm\VMINI1\Parms\TCPIP *Handle 0x617FB44, BOOL Ret: 1)
> 4294781885 PID:a3fb9e2a TID:63f4ca52 0x83ef9a48: *CloseIFConfig(Handle
> 0x99900)
> 4294781885 PID:a3fb9e2a TID:63f4ca52 0x83ef9a48: IPAddAddrComplete: IF
> D5FC0 ntecount 1, SAC 0
> 4294783933 PID:a3fb9e2a TID:e3ee8e82 0x83ee8ad0: DhcpWorkerThread:
> loop 1: WaitList is 0x0
> 4294783933 PID:a3fb9e2a TID:e3ee8e82 0x83ee8ad0: -DhcpWorkerThread:
> WaitList is 0x0
>
> Even though the device boots to a blank screen, it's still active. I
> can start the command shell, but I just don't have a taskbar and
> desktop. Device, GWES, Filesys, Shell, etc. are all running.
>
> Short of turning on all debug zones for the shell, I can't think of
> anything else. Maybe there wasn't an explorer.exe in 4.2? Any ideas?
>
> TIA,
> Dan.
>



Re: Missing explorer.exe, missing desktop by Dan

Dan
Mon Aug 28 09:31:18 CDT 2006

I think it's actually more complicated than that. The shell hasn't
been removed, the standard shell is still there. I should probably
also mention that every now and then what looks like a video-corrupted
cursor comes up, which looks like 64x64 pixels of random noise.

As I mentioned, Shell is still running. Apparently it doesn't have any
defined debug zones, though, because it's not reporting any problem.
>From the Target Control I can still launch programs, which appear to
work fine. It's just the shell that doesn't work--taskbar, desktop,
Alt+Tab, etc.

BTW, should I see any build messages that indicate that Explorer.exe is
being built/added to the platform?

-Dan.


<ctacke/> wrote:
> Explorer.exe is the default shell, but there's no inherent requirement for
> it. Sounds like it's been removed from the build. Not an unusual thing if
> you want to write a replacement shell. If you want explorer back, re-add it
> to the platform (or more likely find out where it's being expluded, and
> remove that exclusion).
>
> -Chris
>
>
>
> "Dan McCarty" <dmccarty@gmail.com> wrote in message
> news:1156621053.116678.158200@m73g2000cwd.googlegroups.com...
> > Hi All,
> >
> > I think someone monkeyed with a platform that I haven't touched in a
> > while. It was once working but now it does not. It boots to a blank
> > screen. After a while I figured out that the platform isn't actually
> > hanging, but the shell isn't loading explorer.
> >
> > What's stranger is that explorer.exe is nowhere to be found! It's not
> > in \Windows on the device, and it's not in the release directory,
> > either.
> >
> > The last part of my debug log looks like this (This is for CE4.2 by the
> > way):
> > Loaded symbols for
> > 'C:\DEV\WINCE42\PUBLIC\M5\RELDIR\ADVANTECH_PCM9575DEBUG\COMMCTRL.DLL'
> > 4294781885 PID:a3fb9e2a TID:63f4ca52 0x83ef9a48:
> > +OpenIFConfig(Comm\VMINI1\Parms\TCPIP Handle 0x617FB44)
> > 4294781885 PID:a3fb9e2a TID:63f4ca52 0x83ef9a48: Opened registry info
> > for Comm\VMINI1\Parms\TCPIP
> > 4294781885 PID:a3fb9e2a TID:63f4ca52 0x83ef9a48:
> > -OpenIFConfig(Comm\VMINI1\Parms\TCPIP *Handle 0x617FB44, BOOL Ret: 1)
> > 4294781885 PID:a3fb9e2a TID:63f4ca52 0x83ef9a48: *CloseIFConfig(Handle
> > 0x99900)
> > 4294781885 PID:a3fb9e2a TID:63f4ca52 0x83ef9a48: IPAddAddrComplete: IF
> > D5FC0 ntecount 1, SAC 0
> > 4294783933 PID:a3fb9e2a TID:e3ee8e82 0x83ee8ad0: DhcpWorkerThread:
> > loop 1: WaitList is 0x0
> > 4294783933 PID:a3fb9e2a TID:e3ee8e82 0x83ee8ad0: -DhcpWorkerThread:
> > WaitList is 0x0
> >
> > Even though the device boots to a blank screen, it's still active. I
> > can start the command shell, but I just don't have a taskbar and
> > desktop. Device, GWES, Filesys, Shell, etc. are all running.
> >
> > Short of turning on all debug zones for the shell, I can't think of
> > anything else. Maybe there wasn't an explorer.exe in 4.2? Any ideas?
> >
> > TIA,
> > Dan.


Re: Missing explorer.exe, missing desktop by Paul

Paul
Mon Aug 28 11:02:04 CDT 2006

Explorer.exe is the "shell", not shell.exe (that's part of the debugger
shell). I think that Chris is right: explorer.exe is missing and you need
to add it back in.

Paul T.

"Dan McCarty" <dmccarty@gmail.com> wrote in message
news:1156775478.248167.287020@i42g2000cwa.googlegroups.com...
>I think it's actually more complicated than that. The shell hasn't
> been removed, the standard shell is still there. I should probably
> also mention that every now and then what looks like a video-corrupted
> cursor comes up, which looks like 64x64 pixels of random noise.
>
> As I mentioned, Shell is still running. Apparently it doesn't have any
> defined debug zones, though, because it's not reporting any problem.
>>From the Target Control I can still launch programs, which appear to
> work fine. It's just the shell that doesn't work--taskbar, desktop,
> Alt+Tab, etc.
>
> BTW, should I see any build messages that indicate that Explorer.exe is
> being built/added to the platform?
>
> -Dan.
>
>
> <ctacke/> wrote:
>> Explorer.exe is the default shell, but there's no inherent requirement
>> for
>> it. Sounds like it's been removed from the build. Not an unusual thing
>> if
>> you want to write a replacement shell. If you want explorer back, re-add
>> it
>> to the platform (or more likely find out where it's being expluded, and
>> remove that exclusion).
>>
>> -Chris
>>
>>
>>
>> "Dan McCarty" <dmccarty@gmail.com> wrote in message
>> news:1156621053.116678.158200@m73g2000cwd.googlegroups.com...
>> > Hi All,
>> >
>> > I think someone monkeyed with a platform that I haven't touched in a
>> > while. It was once working but now it does not. It boots to a blank
>> > screen. After a while I figured out that the platform isn't actually
>> > hanging, but the shell isn't loading explorer.
>> >
>> > What's stranger is that explorer.exe is nowhere to be found! It's not
>> > in \Windows on the device, and it's not in the release directory,
>> > either.
>> >
>> > The last part of my debug log looks like this (This is for CE4.2 by the
>> > way):
>> > Loaded symbols for
>> > 'C:\DEV\WINCE42\PUBLIC\M5\RELDIR\ADVANTECH_PCM9575DEBUG\COMMCTRL.DLL'
>> > 4294781885 PID:a3fb9e2a TID:63f4ca52 0x83ef9a48:
>> > +OpenIFConfig(Comm\VMINI1\Parms\TCPIP Handle 0x617FB44)
>> > 4294781885 PID:a3fb9e2a TID:63f4ca52 0x83ef9a48: Opened registry info
>> > for Comm\VMINI1\Parms\TCPIP
>> > 4294781885 PID:a3fb9e2a TID:63f4ca52 0x83ef9a48:
>> > -OpenIFConfig(Comm\VMINI1\Parms\TCPIP *Handle 0x617FB44, BOOL Ret: 1)
>> > 4294781885 PID:a3fb9e2a TID:63f4ca52 0x83ef9a48: *CloseIFConfig(Handle
>> > 0x99900)
>> > 4294781885 PID:a3fb9e2a TID:63f4ca52 0x83ef9a48: IPAddAddrComplete: IF
>> > D5FC0 ntecount 1, SAC 0
>> > 4294783933 PID:a3fb9e2a TID:e3ee8e82 0x83ee8ad0: DhcpWorkerThread:
>> > loop 1: WaitList is 0x0
>> > 4294783933 PID:a3fb9e2a TID:e3ee8e82 0x83ee8ad0: -DhcpWorkerThread:
>> > WaitList is 0x0
>> >
>> > Even though the device boots to a blank screen, it's still active. I
>> > can start the command shell, but I just don't have a taskbar and
>> > desktop. Device, GWES, Filesys, Shell, etc. are all running.
>> >
>> > Short of turning on all debug zones for the shell, I can't think of
>> > anything else. Maybe there wasn't an explorer.exe in 4.2? Any ideas?
>> >
>> > TIA,
>> > Dan.
>



Re: Missing explorer.exe, missing desktop by Dan

Dan
Mon Aug 28 11:31:00 CDT 2006

But isn't explorer.exe part of the Shell component? How would I "add
it back in" without adding the shell component, which is already
present?

-Dan.


Paul G. Tobey [eMVP] wrote:
> Explorer.exe is the "shell", not shell.exe (that's part of the debugger
> shell). I think that Chris is right: explorer.exe is missing and you need
> to add it back in.
>
> Paul T.
>
> "Dan McCarty" <dmccarty@gmail.com> wrote in message
> news:1156775478.248167.287020@i42g2000cwa.googlegroups.com...
> >I think it's actually more complicated than that. The shell hasn't
> > been removed, the standard shell is still there. I should probably
> > also mention that every now and then what looks like a video-corrupted
> > cursor comes up, which looks like 64x64 pixels of random noise.
> >
> > As I mentioned, Shell is still running. Apparently it doesn't have any
> > defined debug zones, though, because it's not reporting any problem.
> >>From the Target Control I can still launch programs, which appear to
> > work fine. It's just the shell that doesn't work--taskbar, desktop,
> > Alt+Tab, etc.
> >
> > BTW, should I see any build messages that indicate that Explorer.exe is
> > being built/added to the platform?
> >
> > -Dan.
> >
> >
> > <ctacke/> wrote:
> >> Explorer.exe is the default shell, but there's no inherent requirement
> >> for
> >> it. Sounds like it's been removed from the build. Not an unusual thing
> >> if
> >> you want to write a replacement shell. If you want explorer back, re-add
> >> it
> >> to the platform (or more likely find out where it's being expluded, and
> >> remove that exclusion).
> >>
> >> -Chris
> >>
> >>
> >>
> >> "Dan McCarty" <dmccarty@gmail.com> wrote in message
> >> news:1156621053.116678.158200@m73g2000cwd.googlegroups.com...
> >> > Hi All,
> >> >
> >> > I think someone monkeyed with a platform that I haven't touched in a
> >> > while. It was once working but now it does not. It boots to a blank
> >> > screen. After a while I figured out that the platform isn't actually
> >> > hanging, but the shell isn't loading explorer.
> >> >
> >> > What's stranger is that explorer.exe is nowhere to be found! It's not
> >> > in \Windows on the device, and it's not in the release directory,
> >> > either.
> >> >
> >> > The last part of my debug log looks like this (This is for CE4.2 by the
> >> > way):
> >> > Loaded symbols for
> >> > 'C:\DEV\WINCE42\PUBLIC\M5\RELDIR\ADVANTECH_PCM9575DEBUG\COMMCTRL.DLL'
> >> > 4294781885 PID:a3fb9e2a TID:63f4ca52 0x83ef9a48:
> >> > +OpenIFConfig(Comm\VMINI1\Parms\TCPIP Handle 0x617FB44)
> >> > 4294781885 PID:a3fb9e2a TID:63f4ca52 0x83ef9a48: Opened registry info
> >> > for Comm\VMINI1\Parms\TCPIP
> >> > 4294781885 PID:a3fb9e2a TID:63f4ca52 0x83ef9a48:
> >> > -OpenIFConfig(Comm\VMINI1\Parms\TCPIP *Handle 0x617FB44, BOOL Ret: 1)
> >> > 4294781885 PID:a3fb9e2a TID:63f4ca52 0x83ef9a48: *CloseIFConfig(Handle
> >> > 0x99900)
> >> > 4294781885 PID:a3fb9e2a TID:63f4ca52 0x83ef9a48: IPAddAddrComplete: IF
> >> > D5FC0 ntecount 1, SAC 0
> >> > 4294783933 PID:a3fb9e2a TID:e3ee8e82 0x83ee8ad0: DhcpWorkerThread:
> >> > loop 1: WaitList is 0x0
> >> > 4294783933 PID:a3fb9e2a TID:e3ee8e82 0x83ee8ad0: -DhcpWorkerThread:
> >> > WaitList is 0x0
> >> >
> >> > Even though the device boots to a blank screen, it's still active. I
> >> > can start the command shell, but I just don't have a taskbar and
> >> > desktop. Device, GWES, Filesys, Shell, etc. are all running.
> >> >
> >> > Short of turning on all debug zones for the shell, I can't think of
> >> > anything else. Maybe there wasn't an explorer.exe in 4.2? Any ideas?
> >> >
> >> > TIA,
> >> > Dan.
> >


Re: Missing explorer.exe, missing desktop by Paul

Paul
Mon Aug 28 11:50:08 CDT 2006

Explorer.exe is part of one of the shell components of Standard Shell, yes.

As Chris said, someone probably set an environment variable for your build
to exclude the default shell from the OS (although removing it from the
included catalog items would also do this). Turning off __SYSGEN_EXPLORER
would disable the inclusion of explorer.exe. This is set when
SYSGEN_STANDARDSHELL is set to 1.

You have to figure out how to get it back in, and how, exactly, will depend
on how it was removed.

Paul T.

"Dan McCarty" <dmccarty@gmail.com> wrote in message
news:1156782660.850604.309420@74g2000cwt.googlegroups.com...
> But isn't explorer.exe part of the Shell component? How would I "add
> it back in" without adding the shell component, which is already
> present?
>
> -Dan.
>
>
> Paul G. Tobey [eMVP] wrote:
>> Explorer.exe is the "shell", not shell.exe (that's part of the debugger
>> shell). I think that Chris is right: explorer.exe is missing and you
>> need
>> to add it back in.
>>
>> Paul T.
>>
>> "Dan McCarty" <dmccarty@gmail.com> wrote in message
>> news:1156775478.248167.287020@i42g2000cwa.googlegroups.com...
>> >I think it's actually more complicated than that. The shell hasn't
>> > been removed, the standard shell is still there. I should probably
>> > also mention that every now and then what looks like a video-corrupted
>> > cursor comes up, which looks like 64x64 pixels of random noise.
>> >
>> > As I mentioned, Shell is still running. Apparently it doesn't have any
>> > defined debug zones, though, because it's not reporting any problem.
>> >>From the Target Control I can still launch programs, which appear to
>> > work fine. It's just the shell that doesn't work--taskbar, desktop,
>> > Alt+Tab, etc.
>> >
>> > BTW, should I see any build messages that indicate that Explorer.exe is
>> > being built/added to the platform?
>> >
>> > -Dan.
>> >
>> >
>> > <ctacke/> wrote:
>> >> Explorer.exe is the default shell, but there's no inherent requirement
>> >> for
>> >> it. Sounds like it's been removed from the build. Not an unusual
>> >> thing
>> >> if
>> >> you want to write a replacement shell. If you want explorer back,
>> >> re-add
>> >> it
>> >> to the platform (or more likely find out where it's being expluded,
>> >> and
>> >> remove that exclusion).
>> >>
>> >> -Chris
>> >>
>> >>
>> >>
>> >> "Dan McCarty" <dmccarty@gmail.com> wrote in message
>> >> news:1156621053.116678.158200@m73g2000cwd.googlegroups.com...
>> >> > Hi All,
>> >> >
>> >> > I think someone monkeyed with a platform that I haven't touched in a
>> >> > while. It was once working but now it does not. It boots to a
>> >> > blank
>> >> > screen. After a while I figured out that the platform isn't
>> >> > actually
>> >> > hanging, but the shell isn't loading explorer.
>> >> >
>> >> > What's stranger is that explorer.exe is nowhere to be found! It's
>> >> > not
>> >> > in \Windows on the device, and it's not in the release directory,
>> >> > either.
>> >> >
>> >> > The last part of my debug log looks like this (This is for CE4.2 by
>> >> > the
>> >> > way):
>> >> > Loaded symbols for
>> >> > 'C:\DEV\WINCE42\PUBLIC\M5\RELDIR\ADVANTECH_PCM9575DEBUG\COMMCTRL.DLL'
>> >> > 4294781885 PID:a3fb9e2a TID:63f4ca52 0x83ef9a48:
>> >> > +OpenIFConfig(Comm\VMINI1\Parms\TCPIP Handle 0x617FB44)
>> >> > 4294781885 PID:a3fb9e2a TID:63f4ca52 0x83ef9a48: Opened registry
>> >> > info
>> >> > for Comm\VMINI1\Parms\TCPIP
>> >> > 4294781885 PID:a3fb9e2a TID:63f4ca52 0x83ef9a48:
>> >> > -OpenIFConfig(Comm\VMINI1\Parms\TCPIP *Handle 0x617FB44, BOOL Ret:
>> >> > 1)
>> >> > 4294781885 PID:a3fb9e2a TID:63f4ca52 0x83ef9a48:
>> >> > *CloseIFConfig(Handle
>> >> > 0x99900)
>> >> > 4294781885 PID:a3fb9e2a TID:63f4ca52 0x83ef9a48: IPAddAddrComplete:
>> >> > IF
>> >> > D5FC0 ntecount 1, SAC 0
>> >> > 4294783933 PID:a3fb9e2a TID:e3ee8e82 0x83ee8ad0: DhcpWorkerThread:
>> >> > loop 1: WaitList is 0x0
>> >> > 4294783933 PID:a3fb9e2a TID:e3ee8e82 0x83ee8ad0: -DhcpWorkerThread:
>> >> > WaitList is 0x0
>> >> >
>> >> > Even though the device boots to a blank screen, it's still active.
>> >> > I
>> >> > can start the command shell, but I just don't have a taskbar and
>> >> > desktop. Device, GWES, Filesys, Shell, etc. are all running.
>> >> >
>> >> > Short of turning on all debug zones for the shell, I can't think of
>> >> > anything else. Maybe there wasn't an explorer.exe in 4.2? Any
>> >> > ideas?
>> >> >
>> >> > TIA,
>> >> > Dan.
>> >
>



Re: Missing explorer.exe, missing desktop by Dan

Dan
Sat Sep 02 17:00:01 CDT 2006

It turned out that the PB install had gotten corrupted. Another dev
had been on the machine and accidentally deleted part of the CE420
subtree. (Oops) Reinstalling PB with the "repair" option fixed things
up.

Paul, thanks much for your help, both here and on the MSDN chat the
other day.

Best regards,
Dan.


Dan McCarty wrote:
> Hi All,
>
> I think someone monkeyed with a platform that I haven't touched in a
> while. It was once working but now it does not. It boots to a blank
> screen. After a while I figured out that the platform isn't actually
> hanging, but the shell isn't loading explorer.
>
> What's stranger is that explorer.exe is nowhere to be found! It's not
> in \Windows on the device, and it's not in the release directory,
> either.
>
> The last part of my debug log looks like this (This is for CE4.2 by the
> way):
> Loaded symbols for
> 'C:\DEV\WINCE42\PUBLIC\M5\RELDIR\ADVANTECH_PCM9575DEBUG\COMMCTRL.DLL'
> 4294781885 PID:a3fb9e2a TID:63f4ca52 0x83ef9a48:
> +OpenIFConfig(Comm\VMINI1\Parms\TCPIP Handle 0x617FB44)
> 4294781885 PID:a3fb9e2a TID:63f4ca52 0x83ef9a48: Opened registry info
> for Comm\VMINI1\Parms\TCPIP
> 4294781885 PID:a3fb9e2a TID:63f4ca52 0x83ef9a48:
> -OpenIFConfig(Comm\VMINI1\Parms\TCPIP *Handle 0x617FB44, BOOL Ret: 1)
> 4294781885 PID:a3fb9e2a TID:63f4ca52 0x83ef9a48: *CloseIFConfig(Handle
> 0x99900)
> 4294781885 PID:a3fb9e2a TID:63f4ca52 0x83ef9a48: IPAddAddrComplete: IF
> D5FC0 ntecount 1, SAC 0
> 4294783933 PID:a3fb9e2a TID:e3ee8e82 0x83ee8ad0: DhcpWorkerThread:
> loop 1: WaitList is 0x0
> 4294783933 PID:a3fb9e2a TID:e3ee8e82 0x83ee8ad0: -DhcpWorkerThread:
> WaitList is 0x0
>
> Even though the device boots to a blank screen, it's still active. I
> can start the command shell, but I just don't have a taskbar and
> desktop. Device, GWES, Filesys, Shell, etc. are all running.
>
> Short of turning on all debug zones for the shell, I can't think of
> anything else. Maybe there wasn't an explorer.exe in 4.2? Any ideas?
>
> TIA,
> Dan.