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 


Direct3D overlay
Goto page Previous  1, 2, 3, 4, 5
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
dnsi0
I post too much
Reputation: 0

Joined: 04 Jan 2007
Posts: 2674

PostPosted: Sat Oct 18, 2008 1:29 pm    Post subject: Reply with quote

T.T
D3D8.dll is loaded. Thats why there is a valid handle. If the handle isn't valid it will cause a memory access exception at 00000000.
Back to top
View user's profile Send private message
Zand
Master Cheater
Reputation: 0

Joined: 21 Jul 2006
Posts: 424

PostPosted: Sat Oct 18, 2008 1:37 pm    Post subject: Reply with quote

Do you verify the handle?
Back to top
View user's profile Send private message
dnsi0
I post too much
Reputation: 0

Joined: 04 Jan 2007
Posts: 2674

PostPosted: Sun Oct 19, 2008 9:21 am    Post subject: Reply with quote

YES AND YES. The hook is pointed to the correct functions. I think it might be the wrapper clases.
Back to top
View user's profile Send private message
Zand
Master Cheater
Reputation: 0

Joined: 21 Jul 2006
Posts: 424

PostPosted: Sun Oct 19, 2008 11:02 am    Post subject: Reply with quote

Log whether it gets called. Last I checked you said it crashed on injection?
Back to top
View user's profile Send private message
dnsi0
I post too much
Reputation: 0

Joined: 04 Jan 2007
Posts: 2674

PostPosted: Sun Oct 19, 2008 12:53 pm    Post subject: Reply with quote

Yes I inject it and it crashed. So I put a check at teh start of the function to see if it even gets called. Appearentally it doesn't get called before it crashes O.o. WTF? So I injected it after maple has initialized and it was pointing to the correct functions. So Thats the problem...

Edit: NVM the function does get called. But its being an ass cause the returned IDirect3D8 seems to fck it up.

So... The functions gets called and the return seems to be the problem. I guess delphi IDirect3D8 class and the C++ IDirect3D8 classes are too different.
Back to top
View user's profile Send private message
nog_lorp
Grandmaster Cheater
Reputation: 0

Joined: 26 Feb 2006
Posts: 743

PostPosted: Mon Oct 20, 2008 12:32 am    Post subject: Reply with quote

There are excellent C++ wrappers available, why use Delphi? If you need I can dig one up for you(I had a pain finding one last time I was looking).
_________________
Mutilated lips give a kiss on the wrist of the worm-like tips of tentacles expanding in my mind
I'm fine accepting only fresh brine you can get another drop of this yeah you wish
Back to top
View user's profile Send private message
dnsi0
I post too much
Reputation: 0

Joined: 04 Jan 2007
Posts: 2674

PostPosted: Mon Oct 20, 2008 4:38 pm    Post subject: Reply with quote

Notice the part about how much I suck at C++?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Goto page Previous  1, 2, 3, 4, 5
Page 5 of 5

 
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