VCL event handler in a DLL
From: Claire (ease_at_wanadoo.fr)
Date: 05/23/04
- Previous message: Miche: "Get some Info..."
- Next in thread: J French: "Re: VCL event handler in a DLL"
- Reply: J French: "Re: VCL event handler in a DLL"
- Reply: Jamie: "Re: VCL event handler in a DLL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 23 May 2004 17:51:07 +0200
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.
Claire
- Previous message: Miche: "Get some Info..."
- Next in thread: J French: "Re: VCL event handler in a DLL"
- Reply: J French: "Re: VCL event handler in a DLL"
- Reply: Jamie: "Re: VCL event handler in a DLL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|