peritoX
asked on
Know Everything
I used to program in VB, I used to use a dll ShellHook.dll
Is there anything similar in Delphi? I need to do exactly the same thing, need to know if anything is closed or opened (porgram or folder)
thanks
Is there anything similar in Delphi? I need to do exactly the same thing, need to know if anything is closed or opened (porgram or folder)
thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Helllloooo, PeritoX, are you there???
Did my response help you solve your problem?
Did my response help you solve your problem?
ASKER
I am terribly sorry I didnt reply
truly I didnt try it yet because I dont have delphi installed, I will after like 5 days
anyway, the points are yours. If theres anything I want to ask you, you get an email
Thanks Alot & Sorry For The Delay.
truly I didnt try it yet because I dont have delphi installed, I will after like 5 days
anyway, the points are yours. If theres anything I want to ask you, you get an email
Thanks Alot & Sorry For The Delay.
ASKER
ok, I got delphi7 and I tried your code this is what I got(Im still newbie
so the problem may be very silly sorry):
Field Form1.cShellHook1 does not have a corresponding component. Remove the
dec?
The FormCreate method referenced by Form1.OnCreate does not exist. Remove
the ref?
so the problem may be very silly sorry):
Field Form1.cShellHook1 does not have a corresponding component. Remove the
dec?
The FormCreate method referenced by Form1.OnCreate does not exist. Remove
the ref?
You have to import the DLL using Import Type Library and then drop the cShellHook control on your form.
Then create the FormCreate by dbl-clicking it in the Object Inspector and copy/past the code from the FormCreae
above into it.
Then create the FormCreate by dbl-clicking it in the Object Inspector and copy/past the code from the FormCreae
above into it.
hello EddieShipman,
you seem good at VB and Delphi
please can u help me here:
https://www.experts-exchange.com/questions/21220862/DLL-From-VB-To-Delphi.html
you seem good at VB and Delphi
please can u help me here:
https://www.experts-exchange.com/questions/21220862/DLL-From-VB-To-Delphi.html
create a component that you can drop onto your form and hook up the events.