Article View: borland.public.cppbuilder.nativeapi
Article #1874Re: Main Thread ID
From: Remy Lebeau (TeamB)
Date: Mon, 28 May 2007 21:35
Date: Mon, 28 May 2007 21:35
16 lines
1356 bytes
1356 bytes
"mauro" <m.russo@uniplan.it> wrote in message
news:465a9d6b@newsgroups.borland.com...
> Yes, I need MainThradID.
So what's the problem then? Like I said earlier, MainThreadID is a
global variable that is defined by the VCL. Simply use it as-is, for
example:
#include <System.hpp>
::PostThreadMessage(MainThreadID, WM_SOME_MSG, 0, 0);
Gambit
Technical Details
Message-ID:
<465b4b6e$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<46581ab4$1@newsgroups.borland.com> <4659d495@newsgroups.borland.com> <465a9d6b@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: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <46581ab4$1@newsgroups.borland.com> <4659d495@newsgroups.borland.com> <465a9d6b@newsgroups.borland.com> Subject: Re: Main Thread ID Date: Mon, 28 May 2007 14:35:48 -0700 Lines: 18 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 75.82.252.126 Message-ID: <465b4b6e$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1180388206 75.82.252.126 (28 May 2007 14:36:46 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail