Codex anti-hack full source code (c++) C++ 

Hi vFX Tanks you for your interest.

Install c++rest sdk, but i got this error:

Code:
1>D:\PROGRAMAS\CODEX ANTIHACK V3\CODEX_V3\Codex Protect\SDK\include\pplx/pplxtasks.h(38): fatal error C1189: #error :  ERROR: Visual Studio 2010 SP1 or later is required to build ppltasks

Updating Visual studio (SP1)
 
Hi vFX Tanks you for your interest.

Install c++rest sdk, but i got this error:

Code:
1>D:\PROGRAMAS\CODEX ANTIHACK V3\CODEX_V3\Codex Protect\SDK\include\pplx/pplxtasks.h(38): fatal error C1189: #error :  ERROR: Visual Studio 2010 SP1 or later is required to build ppltasks

Updating Visual studio (SP1)

good luck, report your results later, i'll help you on rest calls.

I'll try to get some time to read your code, I'm kinda busy in the last days, but your codex seems pretty promising, you should think about selling custom releases and/or support for your tool, not just for MuOnline you know?
 
I'll try to get some time to read your code,

Thank you wFX, but don't lost much time, thats not my code, i just dig and mix things, im not a programmer. Codex project is just an obssession.

Some simple things like anti-kill, anti-speed and server ban (sql things) are my own, hardware ban i build digging codes...


I'm kinda busy in the last days, but your codex seems pretty promising, you should think about selling custom releases and/or support for your tool, not just for MuOnline you know?

Project is just for those who loves knowledge, like me.

 
Last edited:
I'll try to get some time to read your code,

Thank you wFX, but don't lost much time, thats not my code, i just dig and mix things, im not a programmer. Codex project is just an obssession.

Some simple things like anti-kill, anti-speed and server ban (sql things) are my own, hardware ban i build digging codes...


I'm kinda busy in the last days, but your codex seems pretty promising, you should think about selling custom releases and/or support for your tool, not just for MuOnline you know?

Project is just for those who loves knowledge, like me.



Bro.. the anti kill thread, dont work fine..

always crash the client (exit process)

even i put carrega.Minimum_thread = 1 , I always get exit process!!
for now , i need turn off this , but i want tur on! ..
Please, can you re-check this ??

EDIT: can you remove the delay from deteccion please :D??
this have 1~4 seconds to detect hack

EDIT2: Bro.. very very bad news..
i turn on the Antikill threads
and I suspend the main.exe and i kill every threads.. I dont get exis process... :( the antihack was easy kill (for solve this, you need make a fast deteccion for hacks.. inmediatly deteccion... open hack, 0,0001 ms detecction!.. i edit this ms in source, but dont work u.u)

EDIT 3: high cpu ?
Cogito Ergo Sum - Codex  anti-hack full source code (c++) - RaGEZONE Forums


Edit 4: the 99% is fixed.. this is by i was put 1 ms in detecction occours xD
Cogito Ergo Sum - Codex  anti-hack full source code (c++) - RaGEZONE Forums
 
Last edited:
even i put carrega.Minimum_thread = 1 , I always get exit process!!

I believe, only kill threads had 6 threads, is normal get an exit process. If threads < numeromínimo = exitprocess

for now , i need turn off this , but i want tur on! ..
Please, can you re-check this ??

Whatch video tutorials Lucila, i believe your configuration are wrong.

EDIT: can you remove the delay from deteccion please :D??
this have 1~4 seconds to detect hack

This need a delay, untill thread count are not stable

and I suspend the main.exe and i kill every threads..

I know, if you kill all threads at the same time, one anti-kill dont protect another. Becouse this i make ban server integrated with anti-kill threads. If you kill one thread, game closes, if you kill all threads at the same time, you kill the server autentication too, this give you a ban on sql server. :)

I dont get exis process... :( the antihack was easy kill (for solve this, you need make a fast deteccion for hacks.. inmediatly deteccion... open hack, 0,0001 ms detecction!.. i edit this ms in source, but dont work u.u)

Cpu gona crazy and problem are not solved. Use ban server and kill-thread and you will be protected.

Do you know about PROTECT tmain bypass using mu main.exe checksum conference?
Muserver\Data\Lang\Chs\CheckSum.DAT
 
even i put carrega.Minimum_thread = 1 , I always get exit process!!

I believe, only kill threads had 6 threads, is normal get an exit process. If threads < numeromínimo = exitprocess

for now , i need turn off this , but i want tur on! ..
Please, can you re-check this ??

Whatch video tutorials Lucila, i believe your configuration are wrong.

EDIT: can you remove the delay from deteccion please :D??
this have 1~4 seconds to detect hack

This need a delay, untill thread count are not stable

and I suspend the main.exe and i kill every threads..

I know, if you kill all threads at the same time, one anti-kill dont protect another. Becouse this i make ban server integrated with anti-kill threads. If you kill one thread, game closes, if you kill all threads at the same time, you kill the server autentication too, this give you a ban on sql server. :)

I dont get exis process... :( the antihack was easy kill (for solve this, you need make a fast deteccion for hacks.. inmediatly deteccion... open hack, 0,0001 ms detecction!.. i edit this ms in source, but dont work u.u)

Cpu gona crazy and problem are not solved. Use ban server and kill-thread and you will be protected.

Do you know about PROTECT tmain bypass using mu main.exe checksum conference?
Muserver\Data\Lang\Chs\CheckSum.DAT

Main checksum is for other mains that enter to server without antihack, and i enter eith oficial main killing threada

Ok, i dont know this way with serverside-ban .. I will try this!

And bro.. Trusthme!! My configs are ok, I put min thread counts < than normal threada in main.exe and i get exitprocess. I follow your video tutorial, trusthme T_T

So.. I will try the serverside ban, and i will test.

Edit1: maybe i will use this source only with ban hardware feature, because the rest are good things, but have a much delay :( . This ban features + other fast anticheat + packet encryption ( i have this last ) = most powerfull security ^^
So conclution= thanks cogito for shares your things:) thank you very muh
 
There is no news, my actual source had some test cpp added.

Last one are this one (update 2):





Anti-kill configuration:

Turn ON and OFF EVERYTHING you will use on your antihack, including minimizer. ANY modification after anti-kill configuration will cause Exitprocess.

Set START.cpp:

Code:
carrega.Detecta_Inject_by_Thread   = 1;
carrega.DInject_Thread_occours      = 10000; // Scan occour every 10 seconds [COLOR=#ff0000]<forgot that for now[/COLOR]


carrega.Detecta_Kill_by_Thread      = 1;  
carrega.Dont_kill_yet                      = 0;  //  [B][COLOR=#ff0000](0)[/COLOR] [/B][COLOR=#ff0000][B]PAUSE[/B][/COLOR] Exitprocess, (1) activate exitprocess
carrega.Minimum_thread            = 12; //  [COLOR=#ff0000]<forgot that for now[/COLOR]

When game starts this warning message are displayed:

AK-Scan - WARNING! [Dont_kill_yet] TURNED ON!
Anti-Kill / Anti-Inject by thread are PAUSED!
Thread counting process allowed!

==================================================
If you use minimizer: start game, and minimize game window.

Open: CODEX ANTIHACK V3\Utilitários\TreadCounter (for antikill)\ThreadCounter (main.exe)

Your game main name need be main.exe, obviously. Becouse ThreadCounter (main.exe) search for GetProcessInfo("main.exe");

Monitore thread amount count until that changes, after some minutes, and if it dont change anymore, that is the number you need to add on carrega.Minimum_thread = number;

Detail, if your main.exe threads takes, for example: 50 seconds to stabilize thread counter, you need configure that dalay to all detectors. For my main.exe, 20 seconds are good enought.

==================================================
So, Set START.cpp:

Code:
carrega.Detecta_Inject_by_Thread   = 1;
carrega.DInject_Thread_occours      = 10000; 


carrega.Detecta_Kill_by_Thread      = 1;  
carrega.Dont_kill_yet                      = 1;  //  (0) PAUSE Exitprocess, [COLOR=#ff0000][B](1) ACTIVATE[/B][/COLOR] exitprocess
carrega.Minimum_thread            = 12; //  [COLOR=#FF0000]< Thread counter [B]number [/B]you need to add[/COLOR]

Monitore thread count until that not change. about 5 minutes

==================================================
If you don't use minimizer:
Open: CODEX ANTIHACK V3\Utilitários\TreadCounter (for antikill)\ThreadCounter (main.exe)
Open: main.exe (game)
Wait some minutes, close game and take ThreadCounter (main.exe) results.

==================================================
Make everything again, how many times you think are necessary to make sure are no mistakes.

For example:
If [carrega.Minimum_thread] are = 12;

Less than that > Threads killed > Exitprocess
More than that > External thread added, inject! > Exitprocess







[Trusthme!! My configs are ok]

I thrust you, lets try to understand situation.

- Any external like: Mu window, Minimizer, Klick0r, etc. = Exitprocess. (Inject)

Is that your problem?

- If thread counts change, just one number, more or less, for any reason, or, if main .exe count are not stable for any reason = Exitprocess

Try to undertand thread counts better, make sure main.exe count threads are stable for a long time.

- If thread count takes more than 17 seconds to be stable = Exitprocess


void A1(){
Sleep (15000);
again:
Sleep (2000);
k1();
goto again;
}

In this case, increase the first sleep time for all six Anti-kill detectors on Detecta_AntiKill.cpp, start adding 10 seconds for everyone and add more later if you think that was necessary.

For my mxmain.exe (1.01e), 17 seconds are enought for threads number count be stable. Maybe your main.exe threads takes much more time to be stable. I dont know...



[ because the rest are good things, but have a much delay]

Delay, realy? My idea are make a more light anti-hack system as possible. Think about, if Someone get an disconnect every one minute, this guy just cannot play... Another thing, if detector are made to detect some hack running on computer memory, it will detect this hack anyway.

Think about, run a Dump scann with five hundred memory dumps every milisecond are necessary or make something more secure? I dont think so.

But if you want to make detectors running REALY, REALY faster.

On START.cpp


carrega.DVerifica_occours = 41000; //Occours every X miliseconds
carrega.DLauncher_Occours = 42000; //Occours every X miliseconds
carrega.DHide_occours = 14000; //Occours every X miliseconds
carrega.DDump_occours = 31000; //Occours every X miliseconds
carrega.DWindow_occours = 11000; //Occours every X miliseconds
carrega.DClassName_occours = 9000; //Occours every X miliseconds
carrega.DInject_occours = 30000; //Occours every X miliseconds
carrega.DPID_occours = 13000; //Occours every X miliseconds
carrega.DSpeed_occours = 12000; //Occours every X miliseconds
carrega.DHeuristica_occours = 1010; //Occours every X miliseconds
carrega.DHeuristica_NC_occours = 1050; //Occours every X miliseconds
carrega.DInject_Thread_occours = 10000; //Occours every X miliseconds

If you turn all this values to = 1; after that, people can use your client to make processor benchmarks or maybe some frittatas. Rsrs

[EDIT 3: high cpu ?]

So... if changing anti-kill speed occour time your CPU goes almost 100%... Imagine greater.

Thust me! Delay are our friend.
 
Last edited:
There is no news, my actual source had some test cpp added.

Last one are this one (update 2):





Anti-kill configuration:

Turn ON and OFF EVERYTHING you will use on your antihack, including minimizer. ANY modification after anti-kill configuration will cause Exitprocess.

Set START.cpp:

Code:
carrega.Detecta_Inject_by_Thread   = 1;
carrega.DInject_Thread_occours      = 10000; // Scan occour every 10 seconds [COLOR=#ff0000]<forgot that for now[/COLOR]


carrega.Detecta_Kill_by_Thread      = 1;  
carrega.Dont_kill_yet                      = 0;  //  [B][COLOR=#ff0000](0)[/COLOR] [/B][COLOR=#ff0000][B]PAUSE[/B][/COLOR] Exitprocess, (1) activate exitprocess
carrega.Minimum_thread            = 12; //  [COLOR=#ff0000]<forgot that for now[/COLOR]

When game starts this warning message are displayed:

AK-Scan - WARNING! [Dont_kill_yet] TURNED ON!
Anti-Kill / Anti-Inject by thread are PAUSED!
Thread counting process allowed!

==================================================
If you use minimizer: start game, and minimize game window.

Open: CODEX ANTIHACK V3\Utilitários\TreadCounter (for antikill)\ThreadCounter (main.exe)

Your game main name need be main.exe, obviously. Becouse ThreadCounter (main.exe) search for GetProcessInfo("main.exe");

Monitore thread amount count until that changes, after some minutes, and if it dont change anymore, that is the number you need to add on carrega.Minimum_thread = number;

Detail, if your main.exe threads takes, for example: 50 seconds to stabilize thread counter, you need configure that dalay to all detectors. For my main.exe, 20 seconds are good enought.

==================================================
So, Set START.cpp:

Code:
carrega.Detecta_Inject_by_Thread   = 1;
carrega.DInject_Thread_occours      = 10000; 


carrega.Detecta_Kill_by_Thread      = 1;  
carrega.Dont_kill_yet                      = 1;  //  (0) PAUSE Exitprocess, [COLOR=#ff0000][B](1) ACTIVATE[/B][/COLOR] exitprocess
carrega.Minimum_thread            = 12; //  [COLOR=#FF0000]< Thread counter [B]number [/B]you need to add[/COLOR]

Monitore thread count until that not change. about 5 minutes

==================================================
If you don't use minimizer:
Open: CODEX ANTIHACK V3\Utilitários\TreadCounter (for antikill)\ThreadCounter (main.exe)
Open: main.exe (game)
Wait some minutes, close game and take ThreadCounter (main.exe) results.

==================================================
Make everything again, how many times you think are necessary to make sure are no mistakes.

For example:
If [carrega.Minimum_thread] are = 12;

Less than that > Threads killed > Exitprocess
More than that > External thread added, inject! > Exitprocess







[Trusthme!! My configs are ok]

I thrust you, lets try to understand situation.

- Any external like: Mu window, Minimizer, Klick0r, etc. = Exitprocess. (Inject)

Is that your problem?

- If thread counts change, just one number, more or less, for any reason, or, if main .exe count are not stable for any reason = Exitprocess

Try to undertand thread counts better, make sure main.exe count threads are stable for a long time.

- If thread count takes more than 17 seconds to be stable = Exitprocess


void A1(){
Sleep (15000);
again:
Sleep (2000);
k1();
goto again;
}

In this case, increase the first sleep time for all six Anti-kill detectors on Detecta_AntiKill.cpp, start adding 10 seconds for everyone and add more later if you think that was necessary.

For my mxmain.exe (1.01e), 17 seconds are enought for threads number count be stable. Maybe your main.exe threads takes much more time to be stable. I dont know...



[ because the rest are good things, but have a much delay]

Delay, realy? My idea are make a more light anti-hack system as possible. Think about, if Someone get an disconnect every one minute, this guy just cannot play... Another thing, if detector are made to detect some hack running on computer memory, it will detect this hack anyway.

Think about, run a Dump scann with five hundred memory dumps every milisecond are necessary or make something more secure? I dont think so.

But if you want to make detectors running REALY, REALY faster.

On START.cpp


carrega.DVerifica_occours = 41000; //Occours every X miliseconds
carrega.DLauncher_Occours = 42000; //Occours every X miliseconds
carrega.DHide_occours = 14000; //Occours every X miliseconds
carrega.DDump_occours = 31000; //Occours every X miliseconds
carrega.DWindow_occours = 11000; //Occours every X miliseconds
carrega.DClassName_occours = 9000; //Occours every X miliseconds
carrega.DInject_occours = 30000; //Occours every X miliseconds
carrega.DPID_occours = 13000; //Occours every X miliseconds
carrega.DSpeed_occours = 12000; //Occours every X miliseconds
carrega.DHeuristica_occours = 1010; //Occours every X miliseconds
carrega.DHeuristica_NC_occours = 1050; //Occours every X miliseconds
carrega.DInject_Thread_occours = 10000; //Occours every X miliseconds

If you turn all this values to = 1; after that, people can use your client to make processor benchmarks or maybe some frittatas. Rsrs

[EDIT 3: high cpu ?]

So... if changing anti-kill speed occour time your CPU goes almost 100%... Imagine greater.

Thust me! Delay are our friend.

i can confirmed the some... The antikill thread not work fine. i have 26 threads stable with 3 minutes+ (with all detectors) and when i open the main.exe will be close in 10 seconds.
 
[and I suspend the main.exe and i kill every threads..]

How many detectors you need to disable or change to do that? :)





I think many people had anti-kill problem becouse this line:

START.cpp
carrega.Nome_do_Main = "mxmain.exe";

Configure that exact as your "main.exe" game name and try to start it again. Also, this line are case-sensitive.
 
Last edited:
[Why this change on every SO?]

Holy crap! You are right darkdemo, i dont know that problem.

Back to drawing board...



I think i find a way to do anti-kill realy better, working without any kind of configuration in any OS. Working on!
 
[Why this change on every SO?]

Holy crap! You are right darkdemo, i dont know that problem.

Back to drawing board...



I think i find a way to do anti-kill realy better, working without any kind of configuration in any OS. Working on!

Nice! i waiting for this for make good test ;)



[Why this change on every SO?]

Holy crap! You are right darkdemo, i dont know that problem.

Back to drawing board...



I think i find a way to do anti-kill realy better, working without any kind of configuration in any OS. Working on!

Cogito u can implement this AntiHide for test issues?

#define WINNT 1 // Define for using EndTask API

#include <windows.h>
#include <conio.h>
#include <stdio.h>


struct ProcInfo
{
HWND hWnd;
DWORD dwProcId;
CHAR szTitle[255];
CHAR szClass[255];
};


void main()
{
DWORD dwProcId;
HWND hWnd;
ProcInfo mProc[255];
int mIdList[255];
int nCount = 0;
int nPID = 0;
int i = 0;

printf("Detectação de Processos Ocultos\n");
printf("Author: SNOT [[email protected]]\n");
printf("Copyright (c)SNOT, 2010 - Todos os Direitos Reservados\n\n");

hWnd = FindWindow(0,0);


while( hWnd > 0)
{
if (GetParent(hWnd) == 0) // && IsWindowVisible(hWnd)
{
GetWindowThreadProcessId(hWnd, &dwProcId);


// Kiem tra xem OpenProcess co bi chan bang Hooking khong ?
if (!OpenProcess(PROCESS_QUERY_INFORMATION, FALSE, dwProcId))
{
mProc[nCount].hWnd = hWnd;
mProc[nCount].dwProcId = dwProcId ;


GetWindowTextA(hWnd, mProc[nCount].szTitle, 255);
GetClassNameA(hWnd, mProc[nCount].szClass, 255);


printf("%2d. Processo Id: %d\n - Nome da Classe: %s\n - Janela Titulo: %s\n",
nCount+1, dwProcId, mProc[nCount].szClass, mProc[nCount].szTitle);
printf(" - Janela Encontrada: 0x%X\n - Status Janela: %s\n\n",
hWnd, IsWindowVisible(hWnd) ? "Shown" : "Hidden");
nCount++;


for (i = 0; i < nPID; i++)


if (dwProcId == mIdList) // Kiem tra co chua ?
break;


if (i == nPID)
mIdList[nPID++] = dwProcId; // Cho vao danh sach
}
}
hWnd = GetWindow(hWnd, GW_HWNDNEXT); // Chuyen sang cua so ke tiep
}


printf("\n=> Detectado %d Janelas %d Processos Ocultos(HIDE).\n", nCount, nPID);




if (nCount > 0)
{
printf("\n<?> Você Deseja Finalizar Todas (Y/N): ");


CHAR c = getchar();


if (c == 'Y' || c == 'y')
{
for (i = 0; i < nCount; i++)
{
if (IsWindow(mProc.hWnd)) // Cua so nay con ton tai khong ?
{
// Thu tat lan luot bang 4 buoc ?
SendMessageA(mProc.hWnd, WM_CLOSE, 0, 0); // 1. Close
SendMessageA(mProc.hWnd, WM_QUIT, 0, 0); // 2. Quit
SendMessageA(mProc.hWnd, WM_DESTROY, 0, 0); // 3. Destroy
EndTask(mProc.hWnd, FALSE, TRUE); // 4. EndTask


printf("\n [+] Encontrado Janelas 0x%08X de Processos de ID %4d. Terminado: ",
mProc.hWnd, mProc.dwProcId);
printf( IsWindow(mProc.hWnd) ? "Error" : "OK" ); // Kiem tra lai ket qua ?
}
}
}
}


printf("\n\nVISITE MEU WEBSITE:\n\n");
printf(" [+] http://www.skinsmuonline.com");
getch();
}


The actualy antihide on u source not work fine for me.
 
Anti-kill done! I will take some time to implement that...

Basicaly, scann sleep some seconds and get an first threads snapshot, after that, compare first snapshot with running threads, if are diferent...

And it dont need to load main.exe name anymore, dll get your own snapshot.

Test:

CloseHandle( snapshot );

cout << entry2.cntThreads << endl;
int firstvalue, secondvalue;
int * mypointer;
mypointer = &firstvalue;
*mypointer = entry.cntThreads;
mypointer = &secondvalue;
*mypointer = entry2.cntThreads;
cout << "firstvalue is " << firstvalue << '\n';
cout << "secondvalue is " << secondvalue << '\n';



And thanks for your advise darkdemo. Anti-kill system will be better than ever, becouse you.

Cogito u can implement this AntiHide for test issues?

That anti hide code are the same code are used at this time.
 
Anti-kill done! I will take some time to implement that...

Basicaly, scann sleep some seconds and get an first threads snapshot, after that, compare first snapshot with running threads, if are diferent...

And it dont need to load main.exe name anymore, dll get your own snapshot.

Test:

CloseHandle( snapshot );

cout << entry2.cntThreads << endl;
int firstvalue, secondvalue;
int * mypointer;
mypointer = &firstvalue;
*mypointer = entry.cntThreads;
mypointer = &secondvalue;
*mypointer = entry2.cntThreads;
cout << "firstvalue is " << firstvalue << '\n';
cout << "secondvalue is " << secondvalue << '\n';



And thanks for your advise darkdemo. Anti-kill system will be better than ever, becouse you.

Cogito u can implement this AntiHide for test issues?

That anti hide code are the same code are used at this time.

Thank u for the source and u time ofcurse.

Respect on new code, where i can put this code?
 
Maybe this weekend, becouse i need to simplify that and make some ajusts.


Test to new V4 anti-kill / anti-inject


Bro.. dont test that way..
Try this:
- first, open process explorer / process hack.
- right click in main.exe and put "suspend"
- right click again, and put properities>threads and kill every one kills..
This is the right method to test "anti kill-threads" :)
 
[This is the right method to test "anti kill-threads" :)]

I suppose this is the right way to got 20 days ban on server...

Also, you don't enter my previously question: How many detectors i need disable to open, for example:
process explorer or process hacker?

Doh!

I Suppose an Admin don't will disable their entire anti-hack for your "tests... Or they do?

Do you wanna "test" my client? oO








[Respect on new code, where i can put this code?]

Many problems with this damn threads darkdemo. On mxmain fake AK that works perfectly, becouse this don't have any thread delay. But, mu main had a huge delay to estabilizes count thread, some times it takes fourty seconds...

If you want to make some tests:

Code:
[B][COLOR=#333333]
[/COLOR][/B]void mainS(){ 
    Sleep (40000);
    DWORD const  id = GetCurrentProcessId();
    HANDLE const  snapshot = CreateToolhelp32Snapshot( TH32CS_SNAPALL, 0 );
      PROCESSENTRY32 entry = { 0 };
    entry.dwSize = sizeof( entry );
    BOOL  ret = true;
    ret = Process32First( snapshot, &entry );
    while( ret && entry.th32ProcessID != id ) {
    ret = Process32Next( snapshot, &entry );
    }
    CloseHandle( snapshot );
    //cout << entry.cntThreads << endl;


    again2:
    Sleep (1000);
    DWORD const  id2 = GetCurrentProcessId();
    HANDLE const  snapshot2 = CreateToolhelp32Snapshot( TH32CS_SNAPALL, 0 );
    PROCESSENTRY32 entry2 = { 0 };
    entry2.dwSize = sizeof( entry2 );
    BOOL  ret2 = true;
    ret2 = Process32First( snapshot2, &entry2 );
    while( ret2 && entry2.th32ProcessID != id2 ) {
    ret = Process32Next( snapshot2, &entry2 );
    }
    CloseHandle( snapshot );
    //cout << entry2.cntThreads << endl;
int firstvalue, secondvalue;
int * mypointer;
  mypointer = &firstvalue;
  *mypointer = entry.cntThreads;
  mypointer = &secondvalue;
  *mypointer = entry2.cntThreads;
  cout << "firstvalue is " << firstvalue << " Threads " << '\n';
  cout << "secondvalue is " << secondvalue << " Threads " << '\n';
 // return 0;
  if (firstvalue != secondvalue){
    MessageBoxA(NULL,"Detected!", carrega.Nome_das_Janelas, MB_SERVICE_NOTIFICATION | MB_ICONWARNING);    
    ExitProcess(0);
    cout << "\nEXITPROCESS!" << endl;
  goto again2;
}
}



void TESTES3(){
    CreateThread(NULL,NULL,LPTHREAD_START_ROUTINE(mainS),NULL,0,0);
}
 
Back