Article View: borland.public.cppbuilder.internet.socket
Article #2566Re: Indy 9 SysLog in a DLL
From: Remy Lebeau (TeamB)
Date: Mon, 27 Mar 2006 18:18
Date: Mon, 27 Mar 2006 18:18
22 lines
1682 bytes
1682 bytes
"Paul" <plmacca@clara.co.uk> wrote in message news:4427972a@newsgroups.borland.com... > The DLL has three functions: You have a coding bug in the declaration of TheSysLogTaskStop() and TheSysLogTaskSend(). They both take the ClientHandle as a void** (two asteriks) when they should be using void* (one asterik) instead. > Both of those I must admit, I don't know what to put into > DllEntryPoint() function, or DllMain(..). You should be keepig track of your threads and shutting them down if the user forgot to do that. Also, you did not show any of your actual code, inside those functions, so there is no way to know whether your code is even thread-safe to begin with. Please show more code. Gambit
Technical Details
Message-ID:
<44282c7e@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<442645a5@newsgroups.borland.com> <4427065d$3@newsgroups.borland.com> <4427972a@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,a7a7e5cdcf8a0abf 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: <442645a5@newsgroups.borland.com> <4427065d$3@newsgroups.borland.com> <4427972a@newsgroups.borland.com> Subject: Re: Indy 9 SysLog in a DLL Date: Mon, 27 Mar 2006 10:18:08 -0800 Lines: 24 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: 68.69.17.41 Message-ID: <44282c7e@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1143483518 68.69.17.41 (27 Mar 2006 10:18:38 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail