Здравствуйте, Gukov, Вы писали:
G>Как получить список всех потоков в процессе ?
API: CreateToolhelp32Snapshot() с флагом TH32CS_SNAPTHREAD (параметр th32ProcessID ставить в 0), Thread32First(), Thread32Next(). Далее следуй инструкции:
To identify the threads that belong to a specific process, compare its process identifier to the th32OwnerProcessID member of the THREADENTRY32 structure when enumerating the threads.