<?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[TiniFile funzt net, aber warum??]]></title><description><![CDATA[<p>Hi,</p>
<p>Ich bekomm das TiniFile nicht zum Laufen.</p>
<p>Ich hab zum Testen ein nagelneues Projekt. Da schreib ich rein;</p>
<pre><code class="language-cpp">#include &lt;vcl.h&gt;
#pragma hdrstop

#include &quot;Unit1.h&quot;

//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource &quot;*.dfm&quot;

TForm1 *Form1;
//---------------------------------------------------------------------------
__fastcall TForm1::TForm1(TComponent* Owner)
        : TForm(Owner)
{
}
//---------------------------------------------------------------------------

void __fastcall TForm1::FormCreate(TObject *Sender)
{
   TIniFile *ini = new TIniFile( ChangeFileExt( Application-&gt;ExeName, &quot;.INI&quot; ) );

}
//---------------------------------------------------------------------------
</code></pre>
<p>Wenn ich jetzt Compiieren will, sagt der mir:</p>
<p>[C++ Fehler] Unit1.cpp(23): E2451 Undefiniertes Symbol 'TIniFile'<br />
[C++ Fehler] Unit1.cpp(23): E2451 Undefiniertes Symbol 'ini'<br />
[C++ Fehler] Unit1.cpp(23): E2303 Typname erwartet<br />
[C++ Fehler] Unit1.cpp(23): E2379 In Anweisung fehlt ;</p>
<p>Was ist daran Falsch?? Ich seh da einfach keinen Fehler. Mal davon abgesehen das ich die zeile mit dem TiniFile aus der Hilfe kopiert habe.</p>
<p>Danke schonmal</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/152838/tinifile-funzt-net-aber-warum</link><generator>RSS for Node</generator><lastBuildDate>Sun, 09 Aug 2026 05:24:24 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/152838.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 10 Jul 2006 12:29:45 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to TiniFile funzt net, aber warum?? on Mon, 10 Jul 2006 12:29:45 GMT]]></title><description><![CDATA[<p>Hi,</p>
<p>Ich bekomm das TiniFile nicht zum Laufen.</p>
<p>Ich hab zum Testen ein nagelneues Projekt. Da schreib ich rein;</p>
<pre><code class="language-cpp">#include &lt;vcl.h&gt;
#pragma hdrstop

#include &quot;Unit1.h&quot;

//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource &quot;*.dfm&quot;

TForm1 *Form1;
//---------------------------------------------------------------------------
__fastcall TForm1::TForm1(TComponent* Owner)
        : TForm(Owner)
{
}
//---------------------------------------------------------------------------

void __fastcall TForm1::FormCreate(TObject *Sender)
{
   TIniFile *ini = new TIniFile( ChangeFileExt( Application-&gt;ExeName, &quot;.INI&quot; ) );

}
//---------------------------------------------------------------------------
</code></pre>
<p>Wenn ich jetzt Compiieren will, sagt der mir:</p>
<p>[C++ Fehler] Unit1.cpp(23): E2451 Undefiniertes Symbol 'TIniFile'<br />
[C++ Fehler] Unit1.cpp(23): E2451 Undefiniertes Symbol 'ini'<br />
[C++ Fehler] Unit1.cpp(23): E2303 Typname erwartet<br />
[C++ Fehler] Unit1.cpp(23): E2379 In Anweisung fehlt ;</p>
<p>Was ist daran Falsch?? Ich seh da einfach keinen Fehler. Mal davon abgesehen das ich die zeile mit dem TiniFile aus der Hilfe kopiert habe.</p>
<p>Danke schonmal</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1095072</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1095072</guid><dc:creator><![CDATA[Verwirrt]]></dc:creator><pubDate>Mon, 10 Jul 2006 12:29:45 GMT</pubDate></item><item><title><![CDATA[Reply to TiniFile funzt net, aber warum?? on Mon, 10 Jul 2006 12:33:16 GMT]]></title><description><![CDATA[<p>Du musst die richtige Headerdatei einbinden. In der Hilfe schauen</p>
<p>Glaube inifiles.hpp???</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1095074</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1095074</guid><dc:creator><![CDATA[Rostfrei**]]></dc:creator><pubDate>Mon, 10 Jul 2006 12:33:16 GMT</pubDate></item><item><title><![CDATA[Reply to TiniFile funzt net, aber warum?? on Mon, 10 Jul 2006 12:38:22 GMT]]></title><description><![CDATA[<p>#include &lt;inifiles.hpp&gt;</p>
<p>oben einfügen</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1095078</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1095078</guid><dc:creator><![CDATA[Wasserkocher]]></dc:creator><pubDate>Mon, 10 Jul 2006 12:38:22 GMT</pubDate></item><item><title><![CDATA[Reply to TiniFile funzt net, aber warum?? on Mon, 10 Jul 2006 12:49:17 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>was übrigens auch bei dem Beispiel steht, wo du diese Zeile herhast</p>
<p>Hilfe zu TIniFile::ReadString schrieb:</p>
<blockquote>
<p>Bevor Sie dieses Beispiel ausführen können, müssen Sie IniFiles.hpp in Ihre Unit einbinden.</p>
</blockquote>
<p>also aufmerksamer lesen.</p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1095090</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1095090</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Mon, 10 Jul 2006 12:49:17 GMT</pubDate></item></channel></rss>