Windows API
I have a couple of questions regarding the windows API. First, is there any way to find out what resources (RAM, CPU etc) a process is using? I assume there is, as Task Manager can do it.
Second, I would like to know how Vista "hijacks" a window with it's new "Program has stopped responding" message. It acts like the program created the dialog box, and won't let you use the window (just like a normal dialog). If possible, I would like to know if it is possible to replicate this.
I have tried google, but nothing of any use came up, so I thought I'd ask here
mastergamer wrote: Second, I would like to know how Vista "hijacks" a window with it's new "Program has stopped responding" message. It acts like the program created the dialog box, and won't let you use the window (just like a normal dialog). If possible, I would like to know if it is possible to replicate this.
What you described is a feature of an operating system, I'm sure it may be able to do it, but I'm assuming it would be difficult to do, otherwise it would've been in place years ago.