<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Anzahl Handles der Prozesse]]></title><description><![CDATA[<p>Hallo,<br />
ich habe die einzelen Proszesse, die auf den Rechner laufen, ausgelesen.<br />
Nun möchet ich von den Prozessen wietere Infos(Handles,virtueller Speicher) haben.</p>
<pre><code class="language-cpp">HANDLE hSysSnapshot = NULL;
	HANDLE h_proc;
	PROCESSENTRY32 proc;

	proc.dwSize = sizeof(proc);
	hSysSnapshot = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0);
	Process32First(hSysSnapshot,&amp;proc); 
	proc.dwSize = sizeof(proc);

	for (int i = 0; Process32Next(hSysSnapshot,&amp;proc); i++)
	{
		h_proc = OpenProcess(PROCESS_ALL_ACCESS, TRUE, proc.th32ProcessID);
		strcpy(p1[i].exename , proc.szExeFile);
		DWORD processID=proc.th32ProcessID;
//          .
//          .
//          .
	}
</code></pre>
<p>Wenn jemand in der Richtung irgend etwas weiß kann bitte antworten...</p>
<p>thx TaccoGo</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/77179/anzahl-handles-der-prozesse</link><generator>RSS for Node</generator><lastBuildDate>Sat, 11 Apr 2026 17:39:21 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/77179.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 18 Jun 2004 10:42:06 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Anzahl Handles der Prozesse on Fri, 18 Jun 2004 10:42:06 GMT]]></title><description><![CDATA[<p>Hallo,<br />
ich habe die einzelen Proszesse, die auf den Rechner laufen, ausgelesen.<br />
Nun möchet ich von den Prozessen wietere Infos(Handles,virtueller Speicher) haben.</p>
<pre><code class="language-cpp">HANDLE hSysSnapshot = NULL;
	HANDLE h_proc;
	PROCESSENTRY32 proc;

	proc.dwSize = sizeof(proc);
	hSysSnapshot = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0);
	Process32First(hSysSnapshot,&amp;proc); 
	proc.dwSize = sizeof(proc);

	for (int i = 0; Process32Next(hSysSnapshot,&amp;proc); i++)
	{
		h_proc = OpenProcess(PROCESS_ALL_ACCESS, TRUE, proc.th32ProcessID);
		strcpy(p1[i].exename , proc.szExeFile);
		DWORD processID=proc.th32ProcessID;
//          .
//          .
//          .
	}
</code></pre>
<p>Wenn jemand in der Richtung irgend etwas weiß kann bitte antworten...</p>
<p>thx TaccoGo</p>
]]></description><link>https://www.c-plusplus.net/forum/post/543066</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/543066</guid><dc:creator><![CDATA[TaccoGo]]></dc:creator><pubDate>Fri, 18 Jun 2004 10:42:06 GMT</pubDate></item></channel></rss>