🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Main Thread ID

#1861
From: mauro
Date: Mon, 28 May 2007 09:14
26 lines
1543 bytes
Yes, I need MainThradID.

I knew already GetcurrentThreadId().

Thanks,
Mauro.


"Remy Lebeau (TeamB)" <no.spam@no.spam.com> ha scritto nel messaggio 
news:4659d495@newsgroups.borland.com...
>
> "mauro" <m.russo@uniplan.it> wrote in message
> news:46581ab4$1@newsgroups.borland.com...
>
>> how to obtain the Id of the Main Thread?
>
> The VCL has a global MainThreadID variable for that.
>
> If you want to obtain the ID manually, then you have to call
> GetCurrentThreadId() in the context of the main thread, such as during
> program startup.
>
>
> Gambit
>
> 
Technical Details
Message-ID: <465a9d6b@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <46581ab4$1@newsgroups.borland.com> <4659d495@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,7babfd917db50fe4
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "mauro" <m.russo@uniplan.it>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <46581ab4$1@newsgroups.borland.com> <4659d495@newsgroups.borland.com>
Subject: Re: Main Thread ID
Date: Mon, 28 May 2007 11:14:17 +0200
Lines: 28
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3028
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028
X-RFC2646: Format=Flowed; Original
X-Antivirus: avast! (VPS 000744-1, 27/05/2007), Outbound message
X-Antivirus-Status: Clean
NNTP-Posting-Host: 217.20.0.176
Message-ID: <465a9d6b@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1180343659 217.20.0.176 (28 May 2007 02:14:19 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail