> But when im putting in RequestDone:
> TDNSQuery(sender).Destroy; access violation occures. Why is that?
You can't destroy the object while in OnRequestDone event handler.
But you can PostMessage a custome message to your form and from the event
handler destroy the object.
(This is implemented i
Ja a écrit :
> But when im putting in RequestDone:
> TDNSQuery(sender).Destroy; access violation occures. Why is that?
instead try :
TDNSQuery(sender).Free;
But if i were you i would do it elsewhere...
Even in requestdone events or within any component event you shouldn't
try to destroy it as it
Hello,
Did you try this:
TDNSQuery(sender).Release; ?
Regards,
SZ
- Original Message -
From: "Ja" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Friday, January 06, 2006 1:17 PM
Subject: [twsocket] TDNSQuery problem...
> Hi.
> I'm tryi
Hi.
I'm trying to make application that could get information about
hosts simultanously for lets say... 10 hosts... I made something
like this:
-
var newsocket:TDnsQuery;
domain:string;
begin
newsocket:=TDNSQuery.Create(self);
newsocket.Addr:='195.117.102.3';
newsocket.Proto:='tc