QuestionSolvedNeed help with (hprocess.h)

Posts 1–4 of 4 · Page 1 of 1
Need help with (hprocess.h)
Hey fellas. First of all, sorry for me bad english.
So I've been studing C++ for 12 days now, to start my own csgo cheat.


Today I started watching those simple tutorials for bhop, triggerbot etc..
I'm struggling with those errors that are probably caused by Hprocess.h:
Error (active) E0167 argument of type "const char *" is incompatible with parameter of type "LPSTR" c:\Users\******\source\repos\Project1\Project1\Hpr ocess.h 117

Error (active) E0167 argument of type "const char *" is incompatible with parameter of type "LPSTR" c:\Users\******\source\repos\Project1\Project1\Hpr ocess.h 118

Error (active) E0167 argument of type "const char *" is incompatible with parameter of type "LPSTR" c:\Users\******\source\repos\Project1\Project1\Hpr ocess.h 120

Error C2664 'DWORD CHackProcess::GetModuleNamePointer(LPSTR,DWORD)': cannot convert argument 1 from 'const char [11]' to 'LPSTR' c:\users\******\source\repos\project1\project1\hpr ocess.h 117

Error C2664 'DWORD CHackProcess::GetModuleNamePointer(LPSTR,DWORD)': cannot convert argument 1 from 'const char [11]' to 'LPSTR' c:\users\******\source\repos\project1\project1\hpr ocess.h 118

Error C2664 'DWORD CHackProcess::GetModuleNamePointer(LPSTR,DWORD)': cannot convert argument 1 from 'const char [19]' to 'LPSTR' c:\users\******\source\repos\project1\project1\hpr ocess.h 120
the hprocess.h was copied from
*PS, i am sorry if posting link is not allowed
pastebin.com/Cibguz6k


Thanks.
Moved to proper section
Assuming you're using Microsoft Visual Studio, look under the solution explorer tab, right click on your project and go to Properties -> C/C++ -> Language and make sure "Conformance mode" is off.
Quote Originally Posted by Dularon View Post
Assuming you're using Microsoft Visual Studio, look under the solution explorer tab, right click on your project and go to Properties -> C/C++ -> Language and make sure "Conformance mode" is off.
Thank you so much, works now!
Posts 1–4 of 4 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?