Tordex Community
Start Killer exit. - Printable Version

+- Tordex Community (http://forum.tordex.com)
+-- Forum: True Small Tools (http://forum.tordex.com/forum-6.html)
+--- Forum: General Discussion (http://forum.tordex.com/forum-18.html)
+--- Thread: Start Killer exit. (/thread-3885.html)



Start Killer exit. - Krafter - 02-16-2011

Hi,

I am working on a project that is crucial that the users do not shutdown the PC or get to any functions that is under the Start Menu or desktop. I came across this app while searching for ways to disable the Start Menu and I love it because I can lock them out of everything except the application I want them in. The only problem is when it comes time for an admin (someone besides me) to do normal maintenance or run an app they can't stop Start Killer without Ctrl+Shift+Alt+F12, select Show Icon in System Tray, right click the icon and exit. I tried writing a VB app that would just kill the process but when I do it crashes Windows Explorer and that is not good.

My question is, is there any other way to stop Start Killer without using the key combo?


Re: Start Killer exit. - Yuri Kobets - 02-18-2011

It is very easy. Here is the code on C:
Code:
HWND wnd = FindWindow(L"STARTKILLER", NULL);
if(wnd)
{
    SendMessage(wnd, WM_CLOSE, 0, 0);
}