<?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[DXDIAG aufruf]]></title><description><![CDATA[<p>Hallo Leute.</p>
<p>Ich habe mit</p>
<pre><code class="language-cpp">void WriteDiagnostic(HINSTANCE hInstance, LPWSTR lpDestination)
{
	WCHAR name[MAX_PATH + 1];
	LoadString(hInstance, IDS_DIAGNOSTIC, name, MAX_PATH);

	// build path to diagnostic file
	WCHAR path[MAX_PATH + 1];
	lstrcpy(path, lpDestination);
	PathAppend(path, name);

	WCHAR params[MAX_PATH + 1];
	lstrcpy(params, L&quot;/t &quot;);
	if (wcsstr(path, L&quot; &quot;) != NULL)
		lstrcat(params, L&quot;\&quot;&quot;);
	lstrcat(params, path);
	if (wcsstr(path, L&quot; &quot;) != NULL)
		lstrcat(params, L&quot;\&quot;&quot;);

	ShellExecute(NULL, L&quot;open&quot;, L&quot;dxdiag&quot;, params, NULL, SW_SHOW);
}
</code></pre>
<p>ein dxdiag-aufruf erzeugt. aber komischerweise wird keine textdatei erzeugt.<br />
ich weiß nicht, ob es an dxdiag, den fehlenden admin-rechten oder dem shellexec liegt.</p>
<p>Danke.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/204510/dxdiag-aufruf</link><generator>RSS for Node</generator><lastBuildDate>Sun, 26 Apr 2026 19:21:55 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/204510.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 04 Feb 2008 10:54:05 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to DXDIAG aufruf on Mon, 04 Feb 2008 10:54:05 GMT]]></title><description><![CDATA[<p>Hallo Leute.</p>
<p>Ich habe mit</p>
<pre><code class="language-cpp">void WriteDiagnostic(HINSTANCE hInstance, LPWSTR lpDestination)
{
	WCHAR name[MAX_PATH + 1];
	LoadString(hInstance, IDS_DIAGNOSTIC, name, MAX_PATH);

	// build path to diagnostic file
	WCHAR path[MAX_PATH + 1];
	lstrcpy(path, lpDestination);
	PathAppend(path, name);

	WCHAR params[MAX_PATH + 1];
	lstrcpy(params, L&quot;/t &quot;);
	if (wcsstr(path, L&quot; &quot;) != NULL)
		lstrcat(params, L&quot;\&quot;&quot;);
	lstrcat(params, path);
	if (wcsstr(path, L&quot; &quot;) != NULL)
		lstrcat(params, L&quot;\&quot;&quot;);

	ShellExecute(NULL, L&quot;open&quot;, L&quot;dxdiag&quot;, params, NULL, SW_SHOW);
}
</code></pre>
<p>ein dxdiag-aufruf erzeugt. aber komischerweise wird keine textdatei erzeugt.<br />
ich weiß nicht, ob es an dxdiag, den fehlenden admin-rechten oder dem shellexec liegt.</p>
<p>Danke.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1448950</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1448950</guid><dc:creator><![CDATA[Script-Styler]]></dc:creator><pubDate>Mon, 04 Feb 2008 10:54:05 GMT</pubDate></item><item><title><![CDATA[Reply to DXDIAG aufruf on Mon, 04 Feb 2008 13:04:59 GMT]]></title><description><![CDATA[<p>Ich würde (was Du versuchst) erst mal auf der Befehlszeile ausprobieren.</p>
<p>Bei mir mag DXDIAG nicht, dass der Pfad in Hochkommas gesetzt wird...<br />
Probiere es aus.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1449025</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1449025</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Mon, 04 Feb 2008 13:04:59 GMT</pubDate></item></channel></rss>