Article View: borland.public.cppbuilder.nativeapi
Article #776Re: CreateThread problem
From: AlexB
Date: Wed, 09 Jan 2008 12:03
Date: Wed, 09 Jan 2008 12:03
12 lines
1181 bytes
1181 bytes
Christophe MINETTI wrote:
> It works fine !
But don't forget that static methods don't receive hidden 'this'
parameter. It means that inside method you can't use fields of class
directly (i.e. this->SomeField doesn't work); if you need pointer on
class instance you should pass it manually (for example via global
variable or as part of parameters ("LPVOID _param")).
--
Alex
Technical Details
Message-ID:
<4784c626@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.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:
<47848CA9.AC261F91@ulb.ac.be> <4784a218@newsgroups.borland.com> <4784C1B9.DA94FC3F@ulb.ac.be>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,dc5cc6b1277263b6 X-Google-Attributes: gid10cc67,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "AlexB" <b.a.v@inbox.ru> Subject: Re: CreateThread problem Newsgroups: borland.public.cppbuilder.nativeapi References: <47848CA9.AC261F91@ulb.ac.be> <4784a218@newsgroups.borland.com> <4784C1B9.DA94FC3F@ulb.ac.be> User-Agent: XanaNews/1.18.1.6 NNTP-Posting-Host: 212.192.185.54 Message-ID: <4784c626@newsgroups.borland.com> Date: 9 Jan 2008 05:03:34 -0700 X-Trace: newsgroups.borland.com 1199883814 212.192.185.54 (9 Jan 2008 05:03:34 -0700) Lines: 13 Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.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