Jump to content

Need a little help.

- - - - -

  • Please log in to reply
3 replies to this topic

#1
FutureToday

FutureToday

    Newbie

  • Members
  • Pip
  • 2 posts
Hi guys. I kind of have a HUGE question.

I can't really find this when searching and I don't know what the procedure is or how common it is. Anyways, I have a program that will either launch another program or close itself. The other program is the main game launcher, which is already a compiled executable. From there you can launch the game, go to options, or close and etc.. Now is it possible for that very first program to run in the background and once it detects the main game launched; ie: Game.exe. It will then run another program that either hides the main Game.exe and/or does other hack preventions.

Does this make sense? As it confuses me a little bit. Unfortunately it's about the only way I can think of. But if anyone knows how to directly implement an action to open my protection software from a precompiled executable then I'm sure that'd be much easier. Otherwise please point me in the right direction and if you recommend any program languages besides VB for this, it'd be great!

Thank you!

#2
Alexander

Alexander

    It's Science!

  • Moderators
  • 4,118 posts
  • Location:Vancouver, Eh! Cleverness: 200
You may be able to utilize the Windows API (WinAPI) to hide the process from the task manager, although I do not believe it is a common task and you would need to search for a solution online, I remember seeing one or two. I would assume you need a helper program written in something such as C++ to be launched along with the game.exe that will hide it.
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.

#3
rocketboy9000

rocketboy9000

    Learning Programmer

  • Members
  • PipPipPip
  • 79 posts
#include "process.h"

if(!fork())execl("C:\\insert\\path\\to\\game.exe");


#4
FutureToday

FutureToday

    Newbie

  • Members
  • Pip
  • 2 posts
Thanks guys. I'll look into it and give it a try. :)




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users