Article View: borland.public.cppbuilder.internet.socket
Article #3338Re: Using Synchronize with TIdHTTPServer ...
From: noel
Date: Mon, 17 Oct 2005 22:47
Date: Mon, 17 Oct 2005 22:47
41 lines
2086 bytes
2086 bytes
Hello Remy ... My example code was wrong ... but even with the proper declaration i have the same result ... ??? void __fastcall TMainForm::DisplayServerTrace (void) Link error : Member function must be called or its address taken on AThread -> Synchronize (DisplayServerTrace); or AThread -> Synchronize ((TThreadMethod) DisplayServerTrace); Now this: AThread -> Synchronize (DisplayServerTrace); ... links OK but of course doesn't work properly ... That's why i suspected something wrong int the redeclaration of the Synchronize () in TidThread ... (?) No�l Remy Lebeau (TeamB) wrote: > "noel" <noel@teledata.qc.ca> wrote in message > news:4354113a$1@newsgroups.borland.com... > > >>void TMainForm::DisplayServerTrace (void) > > > Your method is not declared correctly. It must use the __fastcall calling > convention, ie: > > void __fastcall TMainForm::DisplayServerTrace (void) > > > Gambit > >
Technical Details
Message-ID:
<4354290e$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!feed5.newsreader.com!newsreader.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<4354113a$1@newsgroups.borland.com> <43542412$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,db0c9688e1f91c26 X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII Date: Mon, 17 Oct 2005 18:47:27 -0400 From: noel <noel@teledata.qc.ca> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; 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: Using Synchronize with TIdHTTPServer ... References: <4354113a$1@newsgroups.borland.com> <43542412$1@newsgroups.borland.com> In-Reply-To: <43542412$1@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit NNTP-Posting-Host: 207.96.139.202 Message-ID: <4354290e$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1129589006 207.96.139.202 (17 Oct 2005 15:43:26 -0700) Lines: 41 Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!feed5.newsreader.com!newsreader.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail