Search found 75 matches

by cool_tester
Tue Apr 11, 2006 10:47 pm
Forum: madCodeHook
Topic: hooking PrintDlgA Please help ????
Replies: 2
Views: 3329

it works thanks
by cool_tester
Mon Apr 10, 2006 2:21 am
Forum: madCodeHook
Topic: hooking PrintDlgA Please help ????
Replies: 2
Views: 3329

hooking PrintDlgA Please help ????

Hello guys, i was wondering if anyone can help me with this small issue, basically i have an application that i would like to print from using a AX which is the one that will provide the print functinality, so basically i would like it NOT display the print Dialog box so i did some diggin and found ...
by cool_tester
Wed Oct 12, 2005 10:14 am
Forum: madExcept
Topic: Proveleged instruction Execption!! what does it mean????
Replies: 2
Views: 4817

Makes sense thanks. i tracked the issue...
by cool_tester
Tue Oct 11, 2005 6:29 am
Forum: madExcept
Topic: Proveleged instruction Execption!! what does it mean????
Replies: 2
Views: 4817

Proveleged instruction Execption!! what does it mean????

Hello all, I just got this error and would like to know what exactly it means and how to solve it. current module : C:\Program Files\Borland\Delphi5\Projects\Dll Calling EXE Procedures\Project2.dll module date/time : 2005-10-11 02:24 madExcept version : 2.7g exception class : EPrivilege exception me...
by cool_tester
Sat Oct 01, 2005 7:58 pm
Forum: madCodeHook
Topic: Calling Handle of the hooked function ???
Replies: 13
Views: 10955

Someone here mentioned something about Stacks, i noticed in the ImgHlp.pas Borland unit there is a Stack Walker for callbacks is that something i can use to determine the caller? here is what it says in there: { This structure is included in the STACKFRAME structure, } { and is used to trace through...
by cool_tester
Tue Sep 20, 2005 7:52 pm
Forum: madCodeHook
Topic: Calling Handle of the hooked function ???
Replies: 13
Views: 10955

uall wrote:maybe looking for return address?
How do i do that?

PS: i PM you on the other Forum delphi-for.......

i tried it with your hook as well, but i ran into the same problem.

Thanks guys.
by cool_tester
Tue Sep 20, 2005 9:14 am
Forum: madCodeHook
Topic: Calling Handle of the hooked function ???
Replies: 13
Views: 10955

Damn,

Can you guys think of any work around ....?

Thank you.
by cool_tester
Tue Sep 20, 2005 8:34 am
Forum: madCodeHook
Topic: Calling Handle of the hooked function ???
Replies: 13
Views: 10955

it is easy to replicate the issue: lets say you have two buttons on a TForm. Button1 and Button2 under each button put a code to call messagebox API. now create a hook for Messagebox API... next in the callback function i want to know which button triggered the messagebox function. how do i do that,...
by cool_tester
Tue Sep 20, 2005 3:00 am
Forum: madCodeHook
Topic: Calling Handle of the hooked function ???
Replies: 13
Views: 10955

Thank you for your reply,
i did try that and it still returns the same number, so i have no way of telling which instance called my hooked function.... any other ideas?

Thank you.
by cool_tester
Tue Sep 20, 2005 12:05 am
Forum: madCodeHook
Topic: Calling Handle of the hooked function ???
Replies: 13
Views: 10955

Calling Handle of the hooked function ???

Hello there, I'm hooking a Function in a Component, it works fine now AT RUNTIME i create another instance of the same Component and hook the same Function, Now i need to know which instance of the Component si caling the Hooked function how do i do that? i tried GetModuleHandle but it returns the s...
by cool_tester
Wed Aug 24, 2005 11:42 pm
Forum: madCodeHook
Topic: Uall are you still around, Please read ...
Replies: 4
Views: 5374

Ok i PM the stuff on the other forum please check and let me know you got there are suppose to be two Source Codes, the second is the best out of the two. the reason why i'm typing here because the other forum is in German and i'm nbot sure if i did the stuff correctly...

Thanks.
by cool_tester
Wed Aug 24, 2005 11:18 pm
Forum: madCodeHook
Topic: Uall are you still around, Please read ...
Replies: 4
Views: 5374

hee I tracked you down..
anyway I already grabbed your new collection from the other forum...

Thanks.
I will PM you the code on the other forum..
Madshi thanks for the Feed it definitely helps.


Cool.
by cool_tester
Wed Aug 24, 2005 4:13 am
Forum: madCodeHook
Topic: Uall are you still around, Please read ...
Replies: 4
Views: 5374

Uall are you still around, Please read ...

This message is for Uall, i know you hang here every now and then and hopping you get this message, anyway i have some Code for your Collection but i didn't know where to send it to... if you are around please let me know where to upload the Code. Tried to PM you trough the board but it is disabled....
by cool_tester
Fri Apr 15, 2005 4:57 am
Forum: madCodeHook
Topic: How to catch Terminate Process in my Application with MadCod
Replies: 20
Views: 19296

Thanks linden for the info, well i'm not really trying to prevent it from terminating but i just want to catch the TerminateProcess when it is send to my application so i can do some cleaning, but i understand what you are saying, unfortunatly i never did any kernel mode driver coding in delphi. Can...
by cool_tester
Thu Apr 14, 2005 10:15 am
Forum: madCodeHook
Topic: How to catch Terminate Process in my Application with MadCod
Replies: 20
Views: 19296

That's true, but i think they could have given it a simple time frame for the application to response, and if it doesn't then kill it, kind of like what WMQueryEndSession Does..... oh well i'm sure there is a good reason for it to be there. and indead it does come in handy every now and then...