Ok, thanks, but is there any reason why the processing of the delivery of
the file
takes place in the OnTerminate event, rather than at the end of the
execute
method i.e after the call to the lengthy process.
OnTerminate event is handled in the context of the calling thread, that is
the thread which runs the component. Placing code at the end of the execute
method make it executed in the context of the worker thread and as such
would require locked access to the component. Using the OnTerminate event
handler greatly simplify the code.
--
[email protected]
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be