|Subject:||Indy event handler in a DLL|
|Posted by:||Claire (ea…@wanadoo.fr)|
|Date:||Sun, 23 May 2004|
I'm writing a DLL, which uses Indy TidHTTP VCL component, and I dont know
how to assign an event handler to it.
There is no problem with setting proprieties, for instance:
IdHTTP1.Host := '192.168.100.1'
but when I try to write
IdHTTP1.OnWorkEnd := MyOnWorkEndHandler
the compiler raises the message
"Incompatible Types: method pointer and regular procedure".
Thanks in advance for help.