Solved

Get Process ID from given Thread ID ?

Posted on 1998-01-16
1
179 Views
Last Modified: 2013-12-03
Hi,

as already mentioned I'm looking for a way to get the ProcessID from a given ThreadID.

In other words : I have a thread ID from a process in the system (not my own process) and I need a function to get the associated process ID. I need it inside my program not only for testing.

Can you help me ??

Toni
0
Comment
Question by:moosach
1 Comment
 
LVL 32

Accepted Solution

by:
jhance earned 100 total points
ID: 1410095
How are you the the thread id? Usually it's only available inside the current process, which IS the thread's process.
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

This article shows how to make a Windows 7 gadget that accepts files dropped from the Windows Explorer.  It also illustrates how to give your gadget a non-rectangular shape and how to add some nifty visual effects to text displayed in a your gadget.…
With most software applications trying to cater to multiple user needs nowadays, the focus is to make them as configurable as possible. For e.g., when creating Silverlight applications which will connect to WCF services, the service end point usuall…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
This video discusses moving either the default database or any database to a new volume.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now