RSUpdate
Search
Add BelowCode:void startGame(const char* param)
SearchCode:static const char alphanum[] = "abcdefghijklmnopqrstuvwxyz"int stringLength0111 = sizeof(alphanum) - 1;char genRandom011(){ return alphanum[rand() % stringLength0111];}
Add BelowCode:char GAME_START_PARAM[2048];
SearchCode:srand(time(0)); std::string Str, lastname, newname; const char * LASTNAME, * NEWNAME; for(unsigned int i = 0; i < 10; ++i) { Str += genRandom011(); } lastname = "MyGame.exe"; newname = Str + ".exe"; LASTNAME = lastname.c_str(); NEWNAME = newname.c_str(); rename(LASTNAME, NEWNAME);
LookCode:// we don't need to elevate permission here
Code:int err = (int)ShellExecute(NULL, To put this over int err = (int)ShellExecute(NULL, "open", NEWNAME, GAME_START_PARAM, NULL, SW_SHOW);



Reply With Quote![[Tutorial] Random Process](http://ragezone.com/hyper728.png)


