![]() |
| | #1 |
| Woof, woof! Join Date: Mar 2007 Location: Australia
Posts: 3,139
| Start explorer with taskbar I've replaced the default login shell (explorer.exe) with my own program, which then starts explorer.exe when required (and kills it when required). The only problem is, when I create explorer.exe there is no desktop or task bar? Regardless if I start it through the task manager or with CreateProcess(). Instead only an explorer window appears -- this is a clean default install of Windows XP SP3. Is there something I'm missing? Thanks! Zac |
| zacs7 is offline | |
| | #2 |
| Guest Join Date: Aug 2001
Posts: 4,923
| It works fine for me. How are you spawning it? Maybe: explorer /root,%USERPROFILE%\Desktop |
| Sebastiani is offline | |
| | #3 |
| Woof, woof! Join Date: Mar 2007 Location: Australia
Posts: 3,139
| No luck. I'm spawning it with, Code: STARTUPINFO si; PROCESS_INFORMATION pi; CreateProcess(NULL, "explorer.exe", NULL, NULL, false, NORMAL_PRIORITY_CLASS, NULL, NULL, &si, &pi ); It spawns an explorer window, just the desktop and taskbar don't appear. Thanks for the suggestion, but it didn't work. I've tried this on several XP SP3 machines. |
| zacs7 is offline | |
| | #4 |
| Registered User Join Date: Aug 2001 Location: Newport, South Wales, UK
Posts: 1,094
| AFAIK Explorer tests the "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Shell" registry value to see if it is listed as the shell and won't bother creating the desktop or taskbar if it isn't. Short of shimming it so it thinks it is when it isn't, there's no way around it. |
| SMurf is offline | |
| | #5 | |
| Woof, woof! Join Date: Mar 2007 Location: Australia
Posts: 3,139
| Quote:
| |
| zacs7 is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Data Structure Eror | prominababy | C Programming | 3 | 01-06-2009 09:35 AM |
| Adventures in labyrinth generation. | guesst | Game Programming | 8 | 10-12-2008 01:30 PM |
| C++ gui for windows where to start | prixone | Windows Programming | 2 | 12-16-2006 11:48 PM |
| GNOME Desktop won't start (Mandriva) | psychopath | Tech Board | 10 | 07-19-2006 01:21 PM |
| WHEN to start game programming | mrcheesypants | Game Programming | 18 | 02-02-2006 04:09 PM |