Jump to content

mongee

Member
  • Posts

    3
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Australia

Everything posted by mongee

  1. OK, I have a solution, and for our situation it is a lot nicer. Basically what we have done is instead of setting our application as the shell we have changed the registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon Userinit reg_sz c:\windows\system32\userinit.exe to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon Userinit reg_sz c:\ourapplication.exe then in "ourapplication.exe" instead of launching explorer.exe when we are finished we launch c:\windows\userinit.exe Shell ("c:\windows\system32\userinit.exe") and it starts up windows as it normally would. This way we can start our application before explorer.exe (our shell) and if the process is ended it will not load explorer. Thanks for your help carl_maddox, it got me thinking about different ways of doing it
  2. In a way yes, I am trying to make explorer run as the shell, instead of an application as it seems to. When I use the shell method it simply runs the file manager explorer and nothing else. At the moment I am toying around with the CreateProcess function, as I have a suspicion that this might be a bit more successful for me. If anyone has seen or has a copy of the source code for shellsel.exe (in the first post) that would be great, would show me what I am doing wrong
  3. I am trying to launch an exe, without using the ShellAPI to do it. I have tried in both Delphi and VB but have been unsuccessful. Basically we are trying to write a program which will load as the shell, then when complete hand over control of the shell to explorer.exe. When I try to fire up explorer.exe using the shell api: Shell ("c:\windows\explorer.exe") all that happens is that the explorer file manager opens, not the full shell. I know that it can be done, as there is a simpl little program called shellselect (available here. has me pretty stumped, all I know is that I am pretty sure I can't call it with the ShellAPI function.
×
×
  • Create New...