Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Thread ID -> Process ID ??

0 views
Skip to first unread message

Jeff Dean

unread,
Jul 31, 1996, 3:00:00 AM7/31/96
to

Is there a simple, portable method (i.e., not toolhelp32) for taking a
thread ID and determining the corresponding process ID?


Jeff Dean
je...@igc.org


James N. Bower

unread,
Aug 1, 1996, 3:00:00 AM8/1/96
to

Look at OpenProcess...

Philip McGraw

unread,
Aug 1, 1996, 3:00:00 AM8/1/96
to

James N. Bower wrote:

> Jeff Dean wrote:

> > Jeff Dean
> > je...@igc.org

> Look at OpenProcess...

Are you sure that OpenProcess will accept thread IDs in place
of process IDs? Then, when you get a process handle back from
OpenProcess, how do you get the corresponding process ID?

Philip McGraw
Philip...@Bentley.com

0 new messages