Show DevBest [C++] Background process script for a program in C++

TheRealMoonman

I eat babies
Sep 30, 2014
360
74
Hey guys, easy way to make a program run in the background and we all know what can be accomplished doing this :p
Code:
#include<iostream>
#include<Windows.h>
#include<WinUser.h>

using namespace std;

void backgroundprocess();

int main()
{


}
/* ************************************************* */
/* ************************************************* */
void backgroundprocess()
{
    HWND backgroundprocess;
    AllocConsole();
    background = FindWindowA("ConsoleWindowClass", NULL);
    ShowWindow(backgroundprocess, 0);

}
 

Users who are viewing this thread

Top