Important information: this site is currently scheduled to go offline indefinitely by end of the year.

anybody familiar with COM hooking?

Coders and would-be coders alike, this is the place to talk about programming.
Post Reply
Rheini
Moderator
Posts: 652
Joined: Wed Oct 18, 2006 9:48 pm
Location: Germany
Has thanked: 19 times
Been thanked: 46 times
Contact:

anybody familiar with COM hooking?

Post by Rheini »

Hooking IDirectDraw with a proxy dll works flawlessly but when I add a custom IDirectDrawSurface class it works for some time but eventually crashes.

Any ideas why?
Rahly
VVIP member
VVIP member
Posts: 411
Joined: Thu Aug 05, 2004 10:17 am
Been thanked: 1 time

Re: anybody familiar with COM hooking?

Post by Rahly »

Would have to see the implementation.
"By nature men are alike. Through practice they have become far apart." Confucius (Analect 17:2)
Rheini
Moderator
Posts: 652
Joined: Wed Oct 18, 2006 9:48 pm
Location: Germany
Has thanked: 19 times
Been thanked: 46 times
Contact:

Re: anybody familiar with COM hooking?

Post by Rheini »

http://bitbucket.org/trass3r/ddrawproxy/src

myiddraw is the IDirectDraw wrapper.
myiddrawsurface same principle for IDirectDrawSurface
Rheini
Moderator
Posts: 652
Joined: Wed Oct 18, 2006 9:48 pm
Location: Germany
Has thanked: 19 times
Been thanked: 46 times
Contact:

Re: anybody familiar with COM hooking?

Post by Rheini »

And how does this help?
Post Reply