I’m using delphi 2010, is there anyway to know running threads count of the project via delphi function or windows api?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
you can use the
CreateToolhelp32Snapshotfunction with theTH32CS_SNAPTHREADflagsee this code.
And call in this way, using the
GetCurrentProcessIdfunction wich Retrieves the PID (process identifier) of your application.