Brain - very useful
MASM32 - a compiler/linker
UltraEdit-32 - I do all the coding in it
WinApi - Maybe some think that windows is very buggy and bad, but you always can modify it to your needs,right?
OK, the thing I always thought windows very buggy because of its interface, I mean the desktop and that kind of stuff!
So, I've thought, what will happen if we terminate this process. Now, computer didn't lock up. That's very good!
But, alas, we don't have any sufficient tools to execute programs as we used to do on desktop with the Start menu ;(
So let's write them or use those already present. One we'll take is WinConsole, a very cool program. It is a customizable command line at the top, which executes program as you type their
nicknames there. Like, for example, explore for me is execute explorer!
And the program we will write is a shell, which will replace desktop. The base was taken from step 33, the one for terminating processes...
Several options were added:
a) Execute button - an open file dialog pops up and the program you choose is executed
b) Halt button - terminates all the active processes, except for the shell itself and kernel32.dll process
c) Shut Down - reboots Windows
And I use it this way:
First, it starts when Windows boots and unloads all the processes, as if the Halt button is pressed. Then you have all the resources ready for you to use. No wasted bytes at all :)
The best thing is that it is 5 kbytes only. Can you believe that?
Ok, now the source. You can take it here. It isn't commented, but algorithm is provided as always!
Feedback is highly appreciated. And if you add something, send me the updated version,OK?
It would be available for download, too. The main problem now is interface, I suppose. It is rather ugly ;(
But anyway if you just have something to tell me about this program or smth. other mail me. I can sometimes be found in #asm and #win32asm on EFNET...