Article View: borland.public.cppbuilder.internet.socket
Article #1530Re: TClientSocket in consolle applications
From: Remy Lebeau (TeamB)
Date: Mon, 25 Dec 2006 20:49
Date: Mon, 25 Dec 2006 20:49
15 lines
1432 bytes
1432 bytes
"Stefano Bonifazi" <stefboombastic@email.it> wrote in message news:458d3f0d@newsgroups.borland.com... > If I load the dll dinamically from a consolle application only Connect > works! I may think that there is something related to Windows messages, > how can I make it work even with consolle applications? If you are using the TClientSocket in non-blocking mode, then the console application needs an active message queue in the thread that is calling the DLL. Otherwise, you will have to use the TClientSocket in blocking mode instead so that no messages are used. Gambit
Technical Details
Message-ID:
<45903968$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<458d3f0d@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,dab0ff5b2d1109 X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.internet.socket References: <458d3f0d@newsgroups.borland.com> Subject: Re: TClientSocket in consolle applications Date: Mon, 25 Dec 2006 12:49:06 -0800 Lines: 17 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 75.83.34.171 Message-ID: <45903968$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1167079784 75.83.34.171 (25 Dec 2006 12:49:44 -0800) Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail