Код: Выделить всё
void ExitDetection() {
while (true) {
//First Exit
MessageBox(NULL, L"RegisterClassEx", L"Error", MB_OK | MB_ICONERROR);
ExitProcess(1); //اغلاق
TerminateProcess(GetCurrentProcess(), 0);
TerminateProcess(GetCurrentProcess(), 1);
}
}
Подробнее здесь: https://stackoverflow.com/questions/794 ... ssing-ok-c
Мобильная версия