Article View: borland.public.cppbuilder.internet.socket
Article #1112Re: Interaction between Integrated Debugger & TClientSocket or TServerSocket
From: EV14
Date: Tue, 15 May 2007 10:42
Date: Tue, 15 May 2007 10:42
73 lines
3671 bytes
3671 bytes
First of all, I want to thank you for your patience and your availability. Remy Lebeau (TeamB) wrote: > "EV14" <evuq1@bigfoot.com> wrote in message > news:46493bc1$1@newsgroups.borland.com... > > >>The only code I can get is C0000008 > > > That an an Invalid Handle error, not a socket error. > > > Gambit > > Well, I agree but the message corresponding to this code is : "Le projet TestDebugger.exe a provoqu� une classe d'exception ESocketError avec le message 'Impossible de cr�er le nouveau socket'. Processus stopp�. Utilisez Pas-�-pas ou Ex�cuter pour continuer" (The project produced a class exception ...with message 'impossible to create new socket' ...). I suppose it means that during the Socket activation something goes wrong and an invalid handler (for a socket mecanism?) is produced. Remy Lebeau (TeamB) wrote: > "EV14" <evuq1@bigfoot.com> wrote in message > news:46496b68@newsgroups.borland.com... > > >>exit(0) ; > > > You should never use exit() in a VCL project. It does not allow the > VCL to clean up after itself correctly. > Noted, I'll be carefull by now, using Application->Terminate() method instead. > >>Please, what's wrong with my components preparation ? > > > Nothing. > > > Gambit > > If nothing goes wrong, why do I receive this "Le projet TestDebugger.exe a provoqu� une classe d'exception ESocketError avec le message 'Impossible de cr�er le nouveau socket'. Processus stopp�. Utilisez Pas-�-pas ou Ex�cuter pour continuer" ? Is it a warning , can I avoid this ? In fact after few hours of research, I managed to avoid the message and the Method exit which occured after it by configuring debugger SE Exceptions 0xC0000008 (incorrect handle) as 'managed by user programm' and 'g�r�es � la reprise (managed at resume??)'. The key thing is that, now, the method which contains the "Socket->Active=true ;" line is no more interrupted, and I can normally execute and debug my appl. But I'm not totally satisfied not being able to understand what condition produces the alert (especially when this alert doesn't occur with the same project on my portable).
Technical Details
Message-ID:
<46498df2@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder3.cambrium.nl!feeder1.cambrium.nl!62.216.30.27.MISMATCH!newsgate.cistron.nl!xs4all!feeder5.cambrium.nl!feeder2.cambrium.nl!feed.tweaknews.nl!xlned.com!feeder1.xlned.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4648c4b4@newsgroups.borland.com> <4648d759$1@newsgroups.borland.com> <46493bc1$1@newsgroups.borland.com> <46496b68@newsgroups.borland.com> <464979cc$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,3763c159188c556a X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII Date: Tue, 15 May 2007 00:42:58 -1000 From: EV14 <evuq1@bigfoot.com> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.internet.socket Subject: Re: Interaction between Integrated Debugger & TClientSocket or TServerSocket References: <4648c4b4@newsgroups.borland.com> <4648d759$1@newsgroups.borland.com> <46493bc1$1@newsgroups.borland.com> <46496b68@newsgroups.borland.com> <464979cc$1@newsgroups.borland.com> In-Reply-To: <464979cc$1@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Antivirus: avast! (VPS 000740-0, 13/05/2007), Outbound message X-Antivirus-Status: Clean NNTP-Posting-Host: 203.185.183.213 Message-ID: <46498df2@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1179225586 203.185.183.213 (15 May 2007 03:39:46 -0700) Lines: 73 Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder3.cambrium.nl!feeder1.cambrium.nl!62.216.30.27.MISMATCH!newsgate.cistron.nl!xs4all!feeder5.cambrium.nl!feeder2.cambrium.nl!feed.tweaknews.nl!xlned.com!feeder1.xlned.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail