🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#4699
From: Alan Bellingham
Date: Mon, 05 Dec 2005 09:46
15 lines
1604 bytes
Alistair <NoSpamPlease@Somewhere.Com> wrote:

>I see what you mean, but CreateThread was an example.  Try this one:
>
>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. It's designed not to be used as a
member function.

Alan Bellingham
-- 
ACCU Conference 2006 - 19-22 April, Randolph Hotel, Oxford, UK
Technical Details
Message-ID: <7038p19h03vau51l3cuofqu9nmm120h1kr@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newscon06.news.prodigy.com!newscon02.news.prodigy.com!prodigy.net!nx01.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <4392dfb4$1@newsgroups.borland.com> <m2zmngr8wf.fsf@madbox2.Arbeitsgruppe> <4393f9da$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,9984129712b6d0f1
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Alan Bellingham <alanb@episys.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Passing Class Functions To CreateThread, etc...
Date: Mon, 05 Dec 2005 09:46:10 +0000
Reply-To: alanb@episys.com
Message-ID: <7038p19h03vau51l3cuofqu9nmm120h1kr@4ax.com>
References: <4392dfb4$1@newsgroups.borland.com> <m2zmngr8wf.fsf@madbox2.Arbeitsgruppe> <4393f9da$1@newsgroups.borland.com>
X-Newsreader: Forte Agent 3.1/32.783
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 193.129.251.253
X-Trace: newsgroups.borland.com 1133775915 193.129.251.253 (5 Dec 2005 01:45:15 -0700)
Lines: 15
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newscon06.news.prodigy.com!newscon02.news.prodigy.com!prodigy.net!nx01.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail