<?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[SetSuspendState probleme!]]></title><description><![CDATA[<p>Hallo,</p>
<p>Ich will gern das SetSuspendState function benutzen, und habe folgende frage:<br />
Welche header file muss ich einbenden?</p>
<p>Ich habe das wie folgt gemacht:</p>
<pre><code>#include &lt;Powrprof.h&gt;
</code></pre>
<p>Aber danach erhalte ich 21 errors:</p>
<blockquote>
<p>...vc\platformsdk\include\powrprof.h(21) : error C2011: '_GLOBAL_MACHINE_POWER_POLICY' : 'struct' type redefinition</p>
<p>redefinitionvc\platformsdk\include\powrprof.h(28) : error C2011: '_GLOBAL_USER_POWER_POLICY' : 'struct' type redefinition</p>
<p>......</p>
</blockquote>
<p>Was habe ich falsch gemacht?</p>
<p>Bitte um hilfe.</p>
<p>Danke.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/200637/setsuspendstate-probleme</link><generator>RSS for Node</generator><lastBuildDate>Tue, 28 Apr 2026 14:27:57 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/200637.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 17 Dec 2007 18:46:40 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to SetSuspendState probleme! on Mon, 17 Dec 2007 18:46:40 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>Ich will gern das SetSuspendState function benutzen, und habe folgende frage:<br />
Welche header file muss ich einbenden?</p>
<p>Ich habe das wie folgt gemacht:</p>
<pre><code>#include &lt;Powrprof.h&gt;
</code></pre>
<p>Aber danach erhalte ich 21 errors:</p>
<blockquote>
<p>...vc\platformsdk\include\powrprof.h(21) : error C2011: '_GLOBAL_MACHINE_POWER_POLICY' : 'struct' type redefinition</p>
<p>redefinitionvc\platformsdk\include\powrprof.h(28) : error C2011: '_GLOBAL_USER_POWER_POLICY' : 'struct' type redefinition</p>
<p>......</p>
</blockquote>
<p>Was habe ich falsch gemacht?</p>
<p>Bitte um hilfe.</p>
<p>Danke.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1422217</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1422217</guid><dc:creator><![CDATA[shozi]]></dc:creator><pubDate>Mon, 17 Dec 2007 18:46:40 GMT</pubDate></item><item><title><![CDATA[Reply to SetSuspendState probleme! on Mon, 17 Dec 2007 19:39:05 GMT]]></title><description><![CDATA[<p>Sorry, das war mein fehler.</p>
<p>Ich hatte doppelte eintrag in VC++ Include Directories.</p>
<p>Ich habe einfach &quot;...\vc\platformsdk\include\&quot; gelöscht.</p>
<p>Viele Grüße.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1422249</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1422249</guid><dc:creator><![CDATA[shozi]]></dc:creator><pubDate>Mon, 17 Dec 2007 19:39:05 GMT</pubDate></item></channel></rss>