Page 1 of 1

question about HOOK procedure.

Posted: Mon Mar 29, 2004 1:01 am
by Hiller
def I'm no good speack to english. I'm from Ukraine.

People how i can using Windows Hook in Pure Basic?
My problem is: start hooking, open my DLL with my procedures and take parametrs in to my programm.

I don't search any examples with API function (hook).

And other problem: how i can create my DLL. I want create DLL with function API. Maby i wrong, but in DLL don't declare other DLL.


Thank you that finished reading to the end

:idea: Write please code example :idea: If it is possible.

Posted: Mon Mar 29, 2004 8:52 am
by thefool
what do you need to hook?
Okay now, i dont know much about dlls.
If someone could explain what hooking is, then please tell me :)

I cant help with yor problem.

Posted: Mon Mar 29, 2004 9:50 pm
by Hiller
HOOK's - is meter of events, which begins to control all by us the indicated events in the system, and pass them at first to the program, and then system. More complete description on msdn.microsoft.com

p.s. translated by an electronic translator.

--------------------------------------------------------------------
My problem - not understanding how I can begin hooking the system in PureBasic.

I see function SetWindowCallBack in thise Basic but i don't know how it working. It is not MessageCallBack function of C.

Help.

Posted: Mon Mar 29, 2004 9:56 pm
by Karbon