Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Failure determining what "vehdebug-x86_64.InitializeVEH

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Source
View previous topic :: View next topic  
Author Message
Xeni
How do I cheat?
Reputation: 0

Joined: 26 Nov 2017
Posts: 4

PostPosted: Sun Nov 26, 2017 4:11 am    Post subject: Failure determining what "vehdebug-x86_64.InitializeVEH Reply with quote

Hi, I compiled Cheat Engine 6.4 myself and it works great... to an extent.
Whenever I try to use the VEH Debugger, I get this nasty error: "Failure determining what "vehdebug-x86_64.InitializeVEH" means".

I tried debugging pretty hard, no idea what's going wrong. It looks like the function "getAddressFromName" in "symbolhandler.pas" is failing.

Yes, I did compile VEH Debug from source.

Anyone face this issue before? Thanks!
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

Joined: 09 May 2003
Posts: 25262
Location: The netherlands

PostPosted: Sun Nov 26, 2017 8:15 am    Post subject: Reply with quote

dll injection failed.

does ce 6.7 or earlier work ?

_________________
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
View user's profile Send private message MSN Messenger
Xeni
How do I cheat?
Reputation: 0

Joined: 26 Nov 2017
Posts: 4

PostPosted: Sun Nov 26, 2017 12:47 pm    Post subject: Reply with quote

Dark Byte wrote:
dll injection failed.

does ce 6.7 or earlier work ?


I seem to have fixed the issue. See I was compiling as x64 and trying to access a x86 executable - I thought this would have worked because on the compiled versions you release, it is possible.

The issue was that in "VEHDebugger.pas", your prefix code wasn't working for me.

Code:
    is64bit:=processhandler.is64Bit;
    if is64bit then
      prefix:='-x86_64'
    else
      prefix:='-i386';


See the prefix was getting set to "-x86_64" while targeting a x86 application which is why it couldn't inject leading to the error.

You should really add more debug code! When dll injection fails, that should be outputted somewhere rather than relying on some random error further in the code (error handling pls). Thanks anyways <3
Back to top
View user's profile Send private message
goman43
How do I cheat?
Reputation: 0

Joined: 12 Apr 2023
Posts: 1

PostPosted: Wed Apr 12, 2023 12:23 am    Post subject: is this fixed? Reply with quote

I don't understand this solution.

using CE 7.5 currently
I've generated a pointermap and everytime I click " search for what accesses this address" I get the error failure determining what "vehdebug-x86_64.initializeveh" means.

Can someone explain a fix in simple terms?

_________________
just a stupid nerd
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

Joined: 09 May 2003
Posts: 25262
Location: The netherlands

PostPosted: Wed Apr 12, 2023 12:39 am    Post subject: Reply with quote

try injecting the vehdebug dll manually first 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
View user's profile Send private message MSN Messenger
OppRGH
How do I cheat?
Reputation: 0

Joined: 01 Feb 2024
Posts: 5

PostPosted: Thu Feb 01, 2024 5:12 pm    Post subject: same issue here, was it ever resolved? Reply with quote

....
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Source All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites