-
Member
Compiler error using Hadesmem
Hello,
I'm trying to create a DLL using Hadesmem. I get 100+ errors coming from mostly call.hpp
It seems to be an issue related to asmjit, but I don't know how to fix them.
Any help would be greatly appreciated
Severity Code Description Project File Line Suppression StateError C2039 'X86A - Pastebin.com
I'm using VS2022 (x86 project)
Last edited by USAFITKEYHOLES; 02-13-2022 at 08:22 PM.
-
Member
I'm reading headers comments in asmjit and saw this
"//! Immediate values are constants thats passed directly after instruction
//! opcode. To create such value use `imm()` or `imm_u()` methods to create
//! signed or unsigned immediate value."
It explains some errors in my pastebin but ah... I'm starting for an abandonware's sources, if anyone with asmjit/hadesmem knoweledge can contact me to give me some babysteps to success, pls thx!
-
Member
I got past some errors by renaming imm_u with imm in the call.hpp of Hadesmem, since imm_u doesn't seem to exist anymore in asmjit
API - Docs - AsmJit
New paste of errors :
Severity Code Description Project File Line Suppression StateError C2039 'X86A - Pastebin.com
Now the errors seem mostly bound to the assembler stuff. I'll look into it but would greatly appreciate some tips.
-
Active Member
Anyone running into compiler errors should not even be attempting to create a cheat for any game.
-
Member
So anyone with social impairments should not even be attempting to reply anyone online or offline? Thanks for the useless post.
Anyway, I've fixed most of my issues, it was linked to not having the right version of asmjit/hadesmem.
I got only two errors left (hopefully the last ones) :
Error C2440 'initializing': cannot convert from 'hadesmem::detail::Optional<PROCESSENTRY32W>' to 'hadesmem::detail::Optional<PROCESSENTRY32>' privateproject
Error C2440 '<function-style-cast>': cannot convert from 'initializer list' to 'hadesmem::ProcessEntry' privateproject C:\Users\private\Documents\VSinclude\hadesmem\process_list.hpp 84
I'm reading through threads online, hopefully will solve that soon.
-
Post Thanks / Like - 1 Thanks
Corthezz (1 members gave Thanks to USAFITKEYHOLES for this useful post)
-
Active Member
ive posted much more useful content related to cheating than you ever will in your lifetime.
-
Post Thanks / Like - 2 Thanks
Razzue,
Xetro (2 members gave Thanks to scimmy for this useful post)
-
Contributor
I'm using Hadesmem with Boost 1.66 but i do not use Asmjit, If you dont need it dont include it into your proj. Anyway your probably using the wrong version try using a older one...
Last edited by maikel233; 02-15-2022 at 08:49 AM.
-
For what it's worth I've rehosted hadesmem on my github, including a github action YAML which will build artifacts for it.
Repo: GitHub - namreeb/hadesmem
GitHub Action YAML: hadesmem/msbuild.yml at master . namreeb/hadesmem . GitHub
That being said, this is not my library and I have no intention of supporting it.