Article View: borland.public.cppbuilder.nativeapi
Article #775Re: CreateThread problem
From: Christophe MINETTI
Date: Wed, 09 Jan 2008 12:44
Date: Wed, 09 Jan 2008 12:44
28 lines
1467 bytes
1467 bytes
Thanks Alex,
It works fine !
Christophe
AlexB wrote:
> Christophe MINETTI wrote:
>
> > I have few problems with the CreateThread function.
> ...
> > threads_hdls[0] = CreateThread(NULL,0,GrabWithoutCallback,
> > &user_card[0], 0,NULL) ;
> ...
> > DWORD WINAPI TFrameGrabber::GrabWithoutCallback(LPVOID _param)
>
> Declare this metod as static:
>
> class TFrameGrabber
> {
> ...
> static DWORD WINAPI GrabWithoutCallback(LPVOID _param);
> ...
> }
>
> --
> Alex
Technical Details
Message-ID:
<4784C1B9.DA94FC3F@ulb.ac.be>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!eweka.nl!lightspeed.eweka.nl!213.239.142.3.MISMATCH!feed.xsnews.nl!border-2.ams.xsnews.nl!newsfeed.freenet.de!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>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,dc5cc6b1277263b6 X-Google-Attributes: gid10cc67,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Message-ID: <4784C1B9.DA94FC3F@ulb.ac.be> Date: Wed, 09 Jan 2008 13:44:42 +0100 From: Christophe MINETTI <cminetti@ulb.ac.be> X-Mailer: Mozilla 4.74 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: CreateThread problem References: <47848CA9.AC261F91@ulb.ac.be> <4784a218@newsgroups.borland.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 164.15.88.32 X-Trace: newsgroups.borland.com 1199882529 164.15.88.32 (9 Jan 2008 04:42:09 -0700) Lines: 29 Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!eweka.nl!lightspeed.eweka.nl!213.239.142.3.MISMATCH!feed.xsnews.nl!border-2.ams.xsnews.nl!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail