<?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[Pfadangaben bei TInifile (war: IniFiles)]]></title><description><![CDATA[<p>hoi,<br />
also ich hab ma versucht mit IniFiles zu arbeiten aber irgendwie hat das nich so recht funktioniert. folgendes:</p>
<pre><code class="language-cpp">if (!FileExists(&quot;config.ini&quot;))
  {
    int handle = FileCreate(&quot;config.ini&quot;);
    FileClose(handle);
    TIniFile* statsIni = new TIniFile(&quot;config.ini&quot;);
    statsIni-&gt;WriteString(&quot;test&quot;,&quot;test&quot;,&quot;muh&quot;);
    delete statsIni;
  }
</code></pre>
<p>er legt das file auch an aber er schreibt nichts rein. ich hab auch schonmal was per hand reingeschrieben und dann versucht zu lesen was nicht gelungen ist. was is da los? thx</p>
<p>bw</p>
<p><strong>Edit:</strong><br />
Bitte aussagekräftige Überschriften wählen. Danke!</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/76562/pfadangaben-bei-tinifile-war-inifiles</link><generator>RSS for Node</generator><lastBuildDate>Sun, 28 Jun 2026 23:49:37 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/76562.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 12 Jun 2004 23:54:44 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Pfadangaben bei TInifile (war: IniFiles) on Mon, 14 Jun 2004 09:16:11 GMT]]></title><description><![CDATA[<p>hoi,<br />
also ich hab ma versucht mit IniFiles zu arbeiten aber irgendwie hat das nich so recht funktioniert. folgendes:</p>
<pre><code class="language-cpp">if (!FileExists(&quot;config.ini&quot;))
  {
    int handle = FileCreate(&quot;config.ini&quot;);
    FileClose(handle);
    TIniFile* statsIni = new TIniFile(&quot;config.ini&quot;);
    statsIni-&gt;WriteString(&quot;test&quot;,&quot;test&quot;,&quot;muh&quot;);
    delete statsIni;
  }
</code></pre>
<p>er legt das file auch an aber er schreibt nichts rein. ich hab auch schonmal was per hand reingeschrieben und dann versucht zu lesen was nicht gelungen ist. was is da los? thx</p>
<p>bw</p>
<p><strong>Edit:</strong><br />
Bitte aussagekräftige Überschriften wählen. Danke!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/538912</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/538912</guid><dc:creator><![CDATA[BW]]></dc:creator><pubDate>Mon, 14 Jun 2004 09:16:11 GMT</pubDate></item><item><title><![CDATA[Reply to Pfadangaben bei TInifile (war: IniFiles) on Sun, 13 Jun 2004 08:08:59 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>was sagt die Hilfe zu dem Parameter von TIniFile<br />
(Tipp -&gt; Pfad)</p>
<p>MfG<br />
Klaus</p>
]]></description><link>https://www.c-plusplus.net/forum/post/538957</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/538957</guid><dc:creator><![CDATA[KlausB]]></dc:creator><pubDate>Sun, 13 Jun 2004 08:08:59 GMT</pubDate></item><item><title><![CDATA[Reply to Pfadangaben bei TInifile (war: IniFiles) on Sun, 13 Jun 2004 10:22:55 GMT]]></title><description><![CDATA[<p>hmm ... erstmal danke habs jetzt. ich weiß zwar nich wirklich so genau wieso aber nachdem ich rumprobiert hab hab ich rausgefunden das ich überall als Parameter &quot;D:\config.ini&quot; mitgeben muss. irgendwie is das alles recht seltsam.<br />
wenn ich z.B. D:\test\config.ini gemacht habe hat er mir ne datei testconfig.ini in meinem projekt verzeichnis angelegt ... irgendwie nimmt der die angegebene platte und alles danach als dateiname oder so ... nyo es geht auf jeden fall thx</p>
]]></description><link>https://www.c-plusplus.net/forum/post/539040</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/539040</guid><dc:creator><![CDATA[BW]]></dc:creator><pubDate>Sun, 13 Jun 2004 10:22:55 GMT</pubDate></item><item><title><![CDATA[Reply to Pfadangaben bei TInifile (war: IniFiles) on Sun, 13 Jun 2004 11:21:31 GMT]]></title><description><![CDATA[<p>&quot;D:\\test\\config.ini&quot;</p>
<p>Ich weiß nicht mehr, wie oft das hier schon im Forum schon diskutiert wurde. Aber es zeigt, dass du dir auf jeden Fall mal ein paar C++-Grundlagen anschauen solltest...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/539079</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/539079</guid><dc:creator><![CDATA[Dasd]]></dc:creator><pubDate>Sun, 13 Jun 2004 11:21:31 GMT</pubDate></item><item><title><![CDATA[Reply to Pfadangaben bei TInifile (war: IniFiles) on Sun, 13 Jun 2004 18:07:37 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>desweiteren waere es auch sinnvoll den Umgang mit der Hilfe des BCB zu lernen<br />
denn zum Thema TIniFile steht da einiges drinnen</p>
<p>TIniFile anwaehlen (markieren)<br />
F1-Taste druecken<br />
und nach Beispielen suchen (gibt es meist in der Hilfe des BCB)</p>
<p>MfG<br />
Klaus</p>
]]></description><link>https://www.c-plusplus.net/forum/post/539389</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/539389</guid><dc:creator><![CDATA[KlausB]]></dc:creator><pubDate>Sun, 13 Jun 2004 18:07:37 GMT</pubDate></item><item><title><![CDATA[Reply to Pfadangaben bei TInifile (war: IniFiles) on Sun, 13 Jun 2004 18:28:02 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">TIniFile *ini;
   ini = new TIniFile( ChangeFileExt( Application-&gt;ExeName, &quot;.INI&quot; ) );
   ini-&gt;WriteString(&quot;FEHLER&quot;,1,&quot;blabla&quot;);
   delete ini;
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/539410</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/539410</guid><dc:creator><![CDATA[wjuri]]></dc:creator><pubDate>Sun, 13 Jun 2004 18:28:02 GMT</pubDate></item><item><title><![CDATA[Reply to Pfadangaben bei TInifile (war: IniFiles) on Sun, 13 Jun 2004 19:31:52 GMT]]></title><description><![CDATA[<p>Siehe auch <a href="http://www.junix.ch/bcb/help/" rel="nofollow">hier</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/539466</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/539466</guid><dc:creator><![CDATA[junix]]></dc:creator><pubDate>Sun, 13 Jun 2004 19:31:52 GMT</pubDate></item></channel></rss>