KillDefender
KillDefender copied to clipboard
i hope you help me
i cannot open killdefender.exe pid .cpp only and cant build it by g++ saying
g++ killdefender.cpp killdefender.cpp: In function 'int getpid(LPCWSTR)': killdefender.cpp:56:40: error: cannot convert 'CHAR [260] {aka char [260]}' to 'LPCWSTR {aka const wchar_t*}' in assignment processName = processEntry.szExeFile; ^~~~~~~~~ killdefender.cpp: In function 'BOOL SetPrivilege(HANDLE, LPCTSTR, BOOL)': killdefender.cpp:86:39: error: 'SE_PRIVILEGE_REMOVED' was not declared in this scope tp.Privileges[0].Attributes = SE_PRIVILEGE_REMOVED; ^~~~~~~~~~~~~~~~~~~~ killdefender.cpp:88:39: error: 'SE_PRIVILEGE_REMOVED' was not declared in this scope tp.Privileges[0].Attributes = SE_PRIVILEGE_REMOVED; ^~~~~~~~~~~~~~~~~~~~ killdefender.cpp: In function 'int main(int, char**)': killdefender.cpp:196:4: error: 'TOKEN_MANDATORY_LABEL' was not declared in this scope TOKEN_MANDATORY_LABEL tokenIntegrityLevel = {}; ^~~~~~~~~~~~~~~~~~~~~ killdefender.cpp:197:4: error: 'tokenIntegrityLevel' was not declared in this scope tokenIntegrityLevel.Label.Attributes = SE_GROUP_INTEGRITY; ^~~~~~~~~~~~~~~~~~~ killdefender.cpp:202:8: error: 'TokenIntegrityLevel' was not declared in this scope TokenIntegrityLevel, ^~~~~~~~~~~~~~~~~~~
i hope you help me
Hey,
I have developed this using Microsoft Visual Studio 2019 MSVC Compiler. Can you give that a try ?
Hey,
I have developed this using Microsoft Visual Studio 2019 MSVC Compiler. Can you give that a try ?
c++ -> 语言 ->关闭符合模式
Hey,
I have developed this using Microsoft Visual Studio 2019 MSVC Compiler. Can you give that a try ?
if you have discord add me at : tarekxx#8725
because i try do everything but not working cant build app just run but cant build :( only saying Build Run Code Analysis on sulation