<?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[*.ini file Keyvalue löschen, aber wie ??]]></title><description><![CDATA[<p>Hallo,</p>
<p>Ich suche nach einer Lösung um in einem *.ini File einen ganzen Key zu löschen.<br />
z.b.:</p>
<pre><code>[Settings]
Key=String
</code></pre>
<p>Ich möchte nicht nur den String auf 0 setzen sondern den ganzen Key entfernen.<br />
Leider fehlt die dazugehörige API <strong>DeletePrivateProfileString</strong> <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /></p>
<p>Kann mir jemand dazu einen Tipp geben. Ein Trick vielleicht?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/74821/ini-file-keyvalue-löschen-aber-wie</link><generator>RSS for Node</generator><lastBuildDate>Fri, 10 Apr 2026 18:55:11 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/74821.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 25 May 2004 06:09:56 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to *.ini file Keyvalue löschen, aber wie ?? on Tue, 25 May 2004 06:09:56 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>Ich suche nach einer Lösung um in einem *.ini File einen ganzen Key zu löschen.<br />
z.b.:</p>
<pre><code>[Settings]
Key=String
</code></pre>
<p>Ich möchte nicht nur den String auf 0 setzen sondern den ganzen Key entfernen.<br />
Leider fehlt die dazugehörige API <strong>DeletePrivateProfileString</strong> <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /></p>
<p>Kann mir jemand dazu einen Tipp geben. Ein Trick vielleicht?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/526684</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/526684</guid><dc:creator><![CDATA[Blumentopf]]></dc:creator><pubDate>Tue, 25 May 2004 06:09:56 GMT</pubDate></item><item><title><![CDATA[Reply to *.ini file Keyvalue löschen, aber wie ?? on Tue, 25 May 2004 06:25:34 GMT]]></title><description><![CDATA[<p>Steht doch ganz deutlich in der Doku:</p>
<blockquote>
<p><em>lpString</em><br />
[in] Pointer to a null-terminated string to be written to the file. <strong>If this parameter is NULL, the key pointed to by the lpKeyName parameter is deleted.</strong></p>
</blockquote>
]]></description><link>https://www.c-plusplus.net/forum/post/526686</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/526686</guid><dc:creator><![CDATA[flenders]]></dc:creator><pubDate>Tue, 25 May 2004 06:25:34 GMT</pubDate></item><item><title><![CDATA[Reply to *.ini file Keyvalue löschen, aber wie ?? on Tue, 25 May 2004 06:51:10 GMT]]></title><description><![CDATA[<p>..erledigt</p>
]]></description><link>https://www.c-plusplus.net/forum/post/526697</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/526697</guid><dc:creator><![CDATA[Blumentopf]]></dc:creator><pubDate>Tue, 25 May 2004 06:51:10 GMT</pubDate></item><item><title><![CDATA[Reply to *.ini file Keyvalue löschen, aber wie ?? on Tue, 25 May 2004 06:49:35 GMT]]></title><description><![CDATA[<p>Hat doch funktioniert:</p>
<pre><code class="language-asm">invoke WritePrivateProfileString,offset File,offset szBuffer,NULL,offset AppPath
</code></pre>
<p>Danke für den Tipp.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/526700</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/526700</guid><dc:creator><![CDATA[Blumentopf]]></dc:creator><pubDate>Tue, 25 May 2004 06:49:35 GMT</pubDate></item></channel></rss>