[fpc-pascal] Re: Is THostResolver creating a thread?
silvioprog at gmail.com
Wed May 8 15:35:59 CEST 2013
2013/5/8 Michael Van Canneyt <michael at freepascal.org>
> On Wed, 8 May 2013, silvioprog wrote:
>> 2013/5/8 silvioprog <silvioprog at gmail.com>
>> resolve, winsock;
>> procedure TForm1.Button1Click(Sender: TObject);
>> FHostEntry: PHostEnt;
>> FHostEntry := gethostbyname('www.google.com.**br<http://www.google.com.br>
>> ... gethostbyname('www.google.com'**) ...
> The resolver or netdb units do not create threads by themselves.
> But the windows Winsock routines may create threads (I would expect this),
> and these may show up in your process manager.
But my project will always have a thread that is never released? Even when
I freed my objects, that thread is still there.
Well, if this is done by the Windows API, I think we have nothing to do
My public projects - github.com/silvioprog
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal