🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: GetThreadID() function missing ??

#5654
From: David
Date: Sat, 30 Jul 2005 13:08
33 lines
1851 bytes
Hello Remy

According to www.msdn.com there is a GetThreadId(Handle) but I didnt read
the requirements which talks about "LongHorn"

10 minutes after the posting I found the GetWindowThreadProcessId() function
which works a treat. BTW I was passing a window handle.

Thanks Damon as well.

Regards
David


"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message
news:42ea6125$1@newsgroups.borland.com...
>
> "David" <davids@unite.com.au> wrote in message
> news:42ea3c9d@newsgroups.borland.com...
>
> > I need to use the GetThreadID(Handle) in BCB5 and
> > it is nowhere to be found !!
>
> There is no such function.  Why do you think that there is?
>
> What kind of Handle are you passing in?  A window handle?  A thread
handle?
> A process handle?  Please provide more details.
>
>
> Gambit
>
>
Technical Details
Message-ID: <42eb7bca@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newshosting.com!nx02.iad01.newshosting.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <42ea3c9d@newsgroups.borland.com> <42ea6125$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,d47edd29e5f7e1b1
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "David" <davids@unite.com.au>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <42ea3c9d@newsgroups.borland.com> <42ea6125$1@newsgroups.borland.com>
Subject: Re: GetThreadID() function missing ??
Date: Sat, 30 Jul 2005 23:08:52 +1000
Lines: 35
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 211.26.206.233
Message-ID: <42eb7bca@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1122728906 211.26.206.233 (30 Jul 2005 06:08:26 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newshosting.com!nx02.iad01.newshosting.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail