People Dont go off topic,
try putting something that can make a program good, look better and professional looking.
People Dont go off topic,
try putting something that can make a program good, look better and professional looking.
My dog had kidney stones, then it tried to open up its tummy. Silly dog.
lol
anyway, i have got how to shutdn here is the code
BOOL ExitWindowsEx(
UINT uFlags, // shutdown operation
DWORD dwReason // shutdown reason
this will shutdn windows and only works on WIN platform
tho i havent been able to successfully shutdn, but it works i know.
ok can some1 give the code to Exit program.
like in mac u use ExitToShell();
how about in windows?
In windows I believe its: ExitProcess to exit the process then you can use GetExitCodeProcess to get the code and you can use GetCurrentProcess to get the process of your application. So something like this:
ExitProcess(GetExitCodeProcess(GetCurrentProcess() ,0));
I think that will work, I havnt tried it. But those are the API that you want to use. Or you could try ExitThreat with GetExitCodeThread with GetCurrentThread. Give it a shot, then tell me if its a success. I'd test it but Im really busy, I'll test it later tonight if I've got the time. I've gotta help my friend study for math. Good Luck.
Hmm, proper grammar would make a program look very professional, although, I'm sure this is way out of the scope of this threads purpose. Solid coding can also make an application seem more professional.try putting something that can make a program good, look better and professional looking.
Unless you're writing drivers, or some other sort of program which alters system files, you have no reason to restart the computer.
A spiffy company name to back the application would also help, something along the lines of Shafted. This thread should be closed as well, it's no different than your first hacking thread.
if that doesnt work try this
ExitWindows(1,1);
or
ExitWindows(0, 0);
fish i meant the output
like
system("cls");
makes ur output better!
Best thread ever ya right....
If this is the best thread ever then:
Bill Gates is not the richest person in the world....
And Bil Gates IS the richest person on the world..
> And Bil Gates IS the richest person on the world..
No he's not.
I encourage users to do a search on dayknight's posting history and see his professional composure while posting. How can you ask for something professional in return when you yourself do not act this way 99% of the time?
Last edited by Shadow; 05-08-2002 at 02:47 AM.
The world is waiting. I must leave you now.
He is according to Forbes.No he's not.
Visit entropysink.com - It's what your PC is made for!
He's 2nd according to the sunday times rich list, the bloke who owns walmart is apparantly richer.
Lead me not into temptation... I can find it myself.
Not wishing to get into a long debate but.......
On the Times site, if you check out the * it denotes family wealth. Billy boys is personal .
Visit entropysink.com - It's what your PC is made for!
Not wanting to carry this on, especially since this not really the board for it.
Yeah, but I was going by memory of the newspaper supplement I skimmed through about 2 months ago. As I recall it was about twice as much as Bill's and since he's named, how much of it does the Walmart owner personally manage\own?? We'll probably never know.
Lead me not into temptation... I can find it myself.
I guess when you're worth 37 Billion, your not too ........ed about someone else being worth a little more!!
I know one thing for sure. They're both worth more than me!!!
Visit entropysink.com - It's what your PC is made for!
Bill gates may be one of the richest men in the world - legally
The world is waiting. I must leave you now.