Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i hope you help me #1

Open
tarekxxx opened this issue Feb 8, 2022 · 3 comments
Open

i hope you help me #1

tarekxxx opened this issue Feb 8, 2022 · 3 comments

Comments

@tarekxxx
Copy link

tarekxxx commented Feb 8, 2022

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

@pwn1sher
Copy link
Owner

pwn1sher commented Feb 8, 2022

Hey,

I have developed this using Microsoft Visual Studio 2019 MSVC Compiler.
Can you give that a try ?

@Jhinxs
Copy link

Jhinxs commented Feb 8, 2022

Hey,

I have developed this using Microsoft Visual Studio 2019 MSVC Compiler. Can you give that a try ?

c++ -> 语言 ->关闭符合模式

@tarekxxx
Copy link
Author

tarekxxx commented Feb 8, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants