[Help] c++ suspended thread
Hello guys i have a problem in a c++ anticheat. (code is ready and is an old project of a friend, i need to add anti suspend thread) im very newbie in c++.
anticheat is a .dll file and hooked to an .exe
I want this .dll to make a ping or to send a message like hello somewhere, and IF ping or message doesnt receive an answer thats means the user has suspended-terminated this dll from the exe then the exe will close.
the dll is 'hooked' with loadlibrary in the exe.
When the exe run this dll works like anticheat with closing name exe checking bad words dll injection and etc.
but i want to do it unsuspended-cant be killed by a process explorer..so i need periodically to check from server side or just check somehow if this dll is running and if has been suspended/disabled then .exe will close.
have anyone a code for that?
anticheat is a .dll file and hooked to an .exe
I want this .dll to make a ping or to send a message like hello somewhere, and IF ping or message doesnt receive an answer thats means the user has suspended-terminated this dll from the exe then the exe will close.
the dll is 'hooked' with loadlibrary in the exe.
When the exe run this dll works like anticheat with closing name exe checking bad words dll injection and etc.
but i want to do it unsuspended-cant be killed by a process explorer..so i need periodically to check from server side or just check somehow if this dll is running and if has been suspended/disabled then .exe will close.
have anyone a code for that?