Article View: borland.public.cppbuilder.nativeapi
Article #4698Re: Passing Class Functions To CreateThread, etc...
From: Alistair
Date: Mon, 05 Dec 2005 08:28
Date: Mon, 05 Dec 2005 08:28
15 lines
1497 bytes
1497 bytes
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. How would you get a class member function into the call back, that is defined as a non-member call back like CreateThread? You can't pass the object instance to it, but you want the member function to be called. Any ideas? Cheers, Alistair
Technical Details
Message-ID:
<4393f9da$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!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-mailReferences:
<4392dfb4$1@newsgroups.borland.com> <m2zmngr8wf.fsf@madbox2.Arbeitsgruppe>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,9984129712b6d0f1 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Mon, 05 Dec 2005 08:28:11 +0000 From: Alistair <NoSpamPlease@Somewhere.Com> User-Agent: Thunderbird 1.4 (Windows/20050908) MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Passing Class Functions To CreateThread, etc... References: <4392dfb4$1@newsgroups.borland.com> <m2zmngr8wf.fsf@madbox2.Arbeitsgruppe> In-Reply-To: <m2zmngr8wf.fsf@madbox2.Arbeitsgruppe> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 84.9.170.32 Message-ID: <4393f9da$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1133771226 84.9.170.32 (5 Dec 2005 00:27:06 -0700) Lines: 15 Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!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