View previous topic :: View next topic |
Author |
Message |
Lurkan How do I cheat? Reputation: 0
Joined: 09 Jan 2023 Posts: 4
|
Posted: Mon Jan 09, 2023 7:57 pm Post subject: MSVCP140 error when injecting dll |
|
|
Hi! I'm trying to inject a dll in another process and I'm having this error;
"dllInject failed: Failed injecting the DLL
Force load module failed:failed finding address of MSVCP140!?_Winerror_map@std@ @YAHH@Z"
I'm using windows 11 x64 (but other people made it work with the same OS) and I encounter this issue with any dll i'm trying to inject. I already tried reinstalling every vcredist redistribuables.
Anyone encountered this? Any idea to fix this?
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25288 Location: The netherlands
|
Posted: Mon Jan 09, 2023 9:29 pm Post subject: |
|
|
compile your dll with static runtime linking instead of dynamic/dll
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
Lurkan How do I cheat? Reputation: 0
Joined: 09 Jan 2023 Posts: 4
|
Posted: Mon Jan 09, 2023 10:56 pm Post subject: |
|
|
I didn't compile this dll myself, I got it off a forum. Seems to work for everyone else. Am I supposed to recompile it somehow?
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25288 Location: The netherlands
|
Posted: Tue Jan 10, 2023 12:13 am Post subject: |
|
|
in that case dll injection has failed.
could be you miss the correct runtime version or your anti virus is protecting you from dll injection
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
Lurkan How do I cheat? Reputation: 0
Joined: 09 Jan 2023 Posts: 4
|
Posted: Tue Jan 10, 2023 9:16 am Post subject: |
|
|
I've installed every runtime from 2005 to 2022 (the vcredist). How can I miss anything?
I'm using windows defender only. I've been turning protection off but still nothing. I have no clue what to try honestyl
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25288 Location: The netherlands
|
Posted: Tue Jan 10, 2023 11:01 am Post subject: |
|
|
Is the dll in a folder where the game has read access and is the dll also readable and executable for that game?
try running the game as admin
try running ceregreset.exe and then start CE and then try
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
Lurkan How do I cheat? Reputation: 0
Joined: 09 Jan 2023 Posts: 4
|
Posted: Tue Jan 10, 2023 12:31 pm Post subject: |
|
|
Just tried this. I reset CE, started the game as admin (with the dll in the game folder next to the .exe, should have read privileges) and I still have this error message...
|
|
Back to top |
|
|
|