🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #2441

Enumerate Tasks

#2441
From: Norbert Unterberg
Date: Fri, 03 May 1991 09:39
15 lines
1371 bytes
 >  NU>Does anybody know if there is a way to get the task handles of all
 > running
 >  NU>tasks? Maybe a function like EnumTasks (which doesn't exist). Windows
 >
 > Try using EnumWindows() and then calling GetWindowTask() for every
 > window you find.

I've already had that idea, but that's not exactly what I'm looking for. What 
if there is a running task with no parent window? I've written a program 
similar to Launch or BackMenu which only subclasses the desktop window but does 
not create a window by itself. Those programs are not found when using 
EnumWindows(), but they are running tasks and therefore detected by 
GetNumTasks(). So how do I get those task handles? 
Norbert, 2:245/36.4
Technical Details
Message-ID: <1368033735@p4.f36.n245.z2.fidonet.org>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!caen!ox.com!math.fu-berlin.de!ira.uka.de!unido!rwthinf!slcdec!hippo!f1.n6000.z2.fidonet.org!p4.f36.n245.z2.fidonet.org!Norbert_Unterberg

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!caen!ox.com!math.fu-berlin.de!ira.uka.de!unido!rwthinf!slcdec!hippo!f1.n6000.z2.fidonet.org!p4.f36.n245.z2.fidonet.org!Norbert_Unterberg
From: Norbert_Unterberg@p4.f36.n245.z2.fidonet.org (Norbert Unterberg)
Newsgroups: comp.windows.ms.programmer
Subject: Enumerate Tasks
Message-ID: <1368033735@p4.f36.n245.z2.fidonet.org>
Date: 3 May 91 09:39:00 GMT
Reply-To: Norbert_Unterberg%p4.f36.n245.z2@hippo.dfv.rwth-aachen.de (Norbert Unterberg)
Organization: Point of SoftStream, Dortmund, Germany
Lines: 16
Comment-To: Gary_Capps@f1.n6000.z2.fidonet.org (Gary Capps)