🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

AttachThreadInput

#3363
From: Mark Guerrieri
Date: Mon, 03 Jul 2006 18:18
10 lines
1388 bytes
The API docs for AttachThreadInput state that it cannot be used to attach a 
"System Thread."  How can I determin if a given thread is a system thread? 
I have an out-of-process COM server with a method that calls 
AttachThreadInput and works fine, unless the server methos is invoked by a 
Namespace Shell Extension.  In this case, the thread is a system thread and 
app hangs (which hangs explorer as well...)

So is there a way to determine id a given thread is a system thread?

Mark 
Technical Details
Message-ID: <44a95f6d$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news.glorb.com!newsfeed0.kamp.net!newsfeed.kamp.net!newsfeed.freenet.de!news.albasani.net!reader.uucp.at!newsfeed.uucp.at!news.uucp.at!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,c5eaab2d607d9547,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Mark Guerrieri" <mguerrieri@no_spam_verizon.net>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: AttachThreadInput
Date: Mon, 3 Jul 2006 14:18:22 -0400
Lines: 12
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869
NNTP-Posting-Host: 71.248.209.167
Message-ID: <44a95f6d$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1151950701 71.248.209.167 (3 Jul 2006 11:18:21 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news.glorb.com!newsfeed0.kamp.net!newsfeed.kamp.net!newsfeed.freenet.de!news.albasani.net!reader.uucp.at!newsfeed.uucp.at!news.uucp.at!newsgroups.borland.com!not-for-mail