Search found 10766 matches

by madshi
Wed Aug 11, 2004 6:42 pm
Forum: madCodeHook
Topic: Hooking and Network connection problems
Replies: 1
Views: 4151

Please use the latest build, the problem is fixed there:

http://madshi.net/madCollectionBeta.exe
by madshi
Wed Aug 11, 2004 12:28 pm
Forum: madCodeHook
Topic: Help Hooking RegEnumKeyExW
Replies: 1
Views: 4217

First of all you are violating hooking rule 7. Please check the documentation. Next, when someone calls RegEnumKeyEx, the parameters point to buffers which are not filled yet. They may contain random data. RegEnumKeyEx is supposed to fill the buffers with real information. So it doesn't make sense t...
by madshi
Wed Aug 11, 2004 6:46 am
Forum: madCodeHook
Topic: need help with a hook that works on demo app but not in game
Replies: 7
Views: 10829

Are you hooking DirectInputCreateW and DirectInputCreateEx, too? What about DirectInput8Create in dinput8.dll?
by madshi
Tue Aug 10, 2004 5:12 pm
Forum: madKernel
Topic: Checking for new handles in a process ?
Replies: 2
Views: 5777

Please do not post the same question on both the newsgroup and the forum, because that results in double work for me! I've already replied in the newsgroup.
by madshi
Tue Aug 10, 2004 5:01 pm
Forum: madExcept
Topic: Custom exception handler not always called
Replies: 56
Views: 51509

Ok, thank you, then I'll put that patch in.
by madshi
Tue Aug 10, 2004 7:03 am
Forum: madExcept
Topic: Custom exception handler not always called
Replies: 56
Views: 51509

Any news? I'm asking because I'd like to release a new official version today or tomorrow. Thank you!
by madshi
Tue Aug 10, 2004 7:02 am
Forum: madCodeHook
Topic: Hooking C++ member function
Replies: 14
Views: 29767

wrolm, have a look here:

viewtopic.php?p=976#976
by madshi
Tue Aug 10, 2004 7:01 am
Forum: madCodeHook
Topic: dealing with pointers to methods, and calling C++ functions
Replies: 1
Views: 7712

Hey, quite cool - thanks very much!! I'm sure it will be very useful for C++ programmers.

:D
by madshi
Mon Aug 09, 2004 10:45 am
Forum: madExcept
Topic: Custom exception handler not always called
Replies: 56
Views: 51509

Hi Steve, any new problems or does this solution still seem to work?
by madshi
Mon Aug 09, 2004 7:18 am
Forum: madCodeHook
Topic: Help with Injecting
Replies: 1
Views: 4212

Re: Help with Injecting

RAD wrote:How can I inject into another running process, but without having to manually inject.
I'm sorry, but I don't understand this question. Could you please explain?
by madshi
Sat Aug 07, 2004 7:05 am
Forum: madCodeHook
Topic: Hooking C++ member function
Replies: 14
Views: 29767

klumsy wrote:ok here are some snippets
Thanks for the code! Well, in Delphi the "Self" pointer is stored just as any other parameter, so there's no problem.
klumsy wrote:maybe another way we could do this
Hmmmmm... Might be possible, I'm not sure... I'm glad that things are so much easier in Delphi... :D
by madshi
Fri Aug 06, 2004 12:18 pm
Forum: madExcept
Topic: Custom exception handler not always called
Replies: 56
Views: 51509

Too bad, I don't like this solution...

But if it works for you, I'll probably have no other choice than to use it.
by madshi
Fri Aug 06, 2004 11:41 am
Forum: madExcept
Topic: Custom exception handler not always called
Replies: 56
Views: 51509

What happens if you change the second SendMessageTimeout call to SMTO_NORMAL, too?
by madshi
Fri Aug 06, 2004 10:51 am
Forum: madExcept
Topic: Custom exception handler not always called
Replies: 56
Views: 51509

Hmmm... When you stepped through the code, did you keep under the timeout value? Maybe SendMessageTimeout had already timed out? Otherwise it's almost impossible. When looking at the sources: If SendMessageTimeout results in ReceiveFireHandlers being called, there's no way (I can see) how the result...
by madshi
Fri Aug 06, 2004 10:14 am
Forum: madExcept
Topic: Custom exception handler not always called
Replies: 56
Views: 51509

It's getting stranger. But we're also getting nearer. It seems that the msg handling doesn't work correctly, but I can't explain why. If I could only reproduce it on my PC... :( Could you please copy madTools.pas to your project folder? You will also need "mad.inc" and you have to edit it....