"Austin Harvey" <au*******@hotmail.com> wrote in message
news:bf************@ID-157548.news.uni-berlin.de...
Hi all,
Should be a simple one !!
Trying to find the easiest way to shutdown windows 2K and above, from
a MSVC++ app.
Any ideas would be great,
The code below is enough to bring Windows NT down:
#include <stdio.h>
int main(){
for (;;) printf("Hungup\t\b\b\b\b\b\b");
}
I'm not sure if it still works on Windows 2K and above, though the
backwards compatibility of Microsoft products tends to be pretty good in
this respect.
--
Peter van Merkerk
peter.van.merkerk(at)dse.nl