=/Code:return 0;
Title pretty much explains what I am looking for, for my first injector.
"Hey, I did my first desk pop!"
=/Code:return 0;
Last edited by why06; 02-01-2011 at 11:50 AM.
"Every gun that is made, every warship launched, every rocket fired signifies, in the final sense, a theft from those who hunger and are not fed, those who are cold and are not clothed. This world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children. The cost of one modern heavy bomber is this: a modern brick school in more than 30 cities. It is two electric power plants, each serving a town of 60,000 population. It is two fine, fully equipped hospitals. It is some fifty miles of concrete pavement. We pay for a single fighter plane with a half million bushels of wheat. We pay for a single destroyer with new homes that could have housed more than 8,000 people. This is, I repeat, the best way of life to be found on the road the world has been taking. This is not a way of life at all, in any true sense. Under the cloud of threatening war, it is humanity hanging from a cross of iron."- Dwight D. Eisenhower
TerminateProcess//Kill the Process directly
or at the FormEditor
this->Close()//simulate close button
The Internet SHOULD Be Illegal
When you say
"Java is a great programming language because it works on all platforms"
it is just like
"anal sex is great because it works on all genders"
Are YOU a Troll?
*Cain* (02-01-2011)
What about a function that closes the program after 10 seconds if a button is pressed.?
"Hey, I did my first desk pop!"
What are you coding in first of all..?
To close any program all you do is return execution to the OS from the main function ( why06 got it ). Everything you ever program will always have a main function.
I think he is coding an injector in VB.net i dont know why he want to code stupidness.
If it is in VB then it you will have to Inject then add.
Code:System.Threading.Thread.Sleep(10000) Me.Close() 'Or you can do Application.Exit()
if it is C++.
as why said.
Code:return 0;
I just like programming, that is all.
Current Stuff:
- GPU Programmer (Cuda)
- Client/Server (Cloud Server)
- Mobile App Development
return 0 will only work when you return in the main thread. use exit or terminateprocess
VB:
[highlight=vbnet]System.Threading.Thread.Sleep(10000)[/highlight]
Will cause your program to freeze if you don't run it from a seperate thread.
C++:
[highlight=c++]Sleep(10000)[/highlight]
Donate:
BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9
Handy Tools/Hacks:
Extreme Injector v3.7.3
A powerful and advanced injector in a simple GUI.
Can scramble DLLs on injection making them harder to detect and even make detected hacks work again!
Minion Since: 13th January 2011
Moderator Since: 6th May 2011
Global Moderator Since: 29th April 2012
Super User/Unknown Since: 23rd July 2013
'Game Hacking' Team Since: 30th July 2013
--My Art--
[Roxas - Pixel Art, WIP]
[Natsu - Drawn]
[Natsu - Coloured]
All drawings are coloured using Photoshop.
--Gifts--
[Kyle]
IPC, inter process communication, get your thread to let your application know if it successfully attached and executed the procedure/function if all is good then close the injector else keep it open, While timers and on button click events are fine they are not really closing the app on a success, instead they will close app no matter what happends