🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #4701

Re: Passing Class Functions To CreateThread, etc...

#4701
From: Thomas Maeder [TeamB]
Date: Mon, 05 Dec 2005 17:15
11 lines
1621 bytes
Alan Bellingham <alanb@episys.com> writes:

>>If I have a callback parameter of a function that does NOT take a
>>parameter, i.e. for passing 'this' to it.
>
> You have a global function without any user-available parameter?
>
> Then you need to handle it globally.

With the appropriate scaffolding if the program is multi-threaded, of
course.
Technical Details
Message-ID: <m2oe3vbh2t.fsf@madbox2.Arbeitsgruppe>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.volia.net!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <4392dfb4$1@newsgroups.borland.com> <m2zmngr8wf.fsf@madbox2.Arbeitsgruppe> <4393f9da$1@newsgroups.borland.com> <7038p19h03vau51l3cuofqu9nmm120h1kr@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,9984129712b6d0f1
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Passing Class Functions To CreateThread, etc...
References: <4392dfb4$1@newsgroups.borland.com> <m2zmngr8wf.fsf@madbox2.Arbeitsgruppe>
 <4393f9da$1@newsgroups.borland.com>
 <7038p19h03vau51l3cuofqu9nmm120h1kr@4ax.com>
From: maeder@glue.ch (Thomas Maeder [TeamB])
Organization: TeamB
X-Face: ":yn4zt^A_dn>6~{YJmu^B\'4w)e:apPM\VC=Dvf&*tASxX9|BYczkFd$xr.$vNSZ[3Uobr p]c4\+\l){!WQI.$]veP({HLd;CDYH?iN
Date: Mon, 05 Dec 2005 18:15:54 +0100
Message-ID: <m2oe3vbh2t.fsf@madbox2.Arbeitsgruppe>
User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Jumbo Shrimp, linux)
Cancel-Lock: sha1:A8NaTZKNIcH3WBN742J5vsdBlaM=
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
NNTP-Posting-Host: 84.73.158.225
X-Trace: newsgroups.borland.com 1133802899 84.73.158.225 (5 Dec 2005 09:14:59 -0700)
Lines: 11
X-Authenticated-User: tmaeder
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.volia.net!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail