> Each THttpCli has a different Tag (1 to 5) to allow the
> RequestDone know the THttpCli sender;

No need to use the tag property. The "Sender" argument in each event handler 
is there just for that purpose: to know who triggered the event ! Of course 
you must cast sender argument to the approprioate type (here THttpCli).

> ... and I get a Violation access. I guess it's because all the THttpCli
> uses the same RequestDone procedure (the THttpCli is known by its Tag :
> 1 to 5).

No problem to use the same procedure. And as stated above, use the sender 
argument, not the tag.

--
Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
--
[EMAIL PROTECTED]
http://www.overbyte.be


-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to