<?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[Konsole &amp;amp;&amp;amp; MySQL]]></title><description><![CDATA[<pre><code class="language-cpp">void __fastcall mysql::mysql (TForm *form, AnsiString driver, ...)
 {
          this-&gt;connection = new TSQLConnection(form);
          this-&gt;connection-&gt;DriverName = driver;
          this-&gt;connection-&gt;Params-&gt;Values[&quot;DriverName&quot;] = driver;
          this-&gt;connection-&gt;Params-&gt;Values[&quot;User_Name&quot;] = user;
          this-&gt;connection-&gt;Params-&gt;Values[&quot;Password&quot;] = pwd;
          this-&gt;connection-&gt;Params-&gt;Values[&quot;HostName&quot;] = hostname;
          this-&gt;connection-&gt;Params-&gt;Values[&quot;Database&quot;] = database;
          this-&gt;connection-&gt;LibraryName = &quot;dbexpmysql.dll&quot;;
          this-&gt;connection-&gt;VendorLib = &quot;libmySQL.dll&quot;;
          this-&gt;connection-&gt;KeepConnection = true;
          this-&gt;connection-&gt;GetDriverFunc = &quot;getSQLDriverMYSQL&quot;;
          this-&gt;connection-&gt;Open(); //HIER
          this-&gt;dataset = new TSQLDataSet(form);
//und so weiter...
 }
</code></pre>
<p>das ist mein Konstruktor der MySQL-Klasse... Es ging die ganze Zeit - aber jetzt, wo ich die GUI nicht mehr brauche und das Projekt einfach zur Konsolenanwendung deklassiert habe, will es nicht mehr...<br />
Die Klasse an sich initialisiere ich so:</p>
<pre><code class="language-cpp">MySQL = new mysql (NULL, &quot;asd&quot;, &quot;asd&quot;, ...);
</code></pre>
<p>und es läuft alles richtig ab - bis zu dem Zeitpunkt, wo er die Verbindung öffnet... (&quot;//HIER&quot;)<br />
Dort bleibt er einfach stehen und ich weiß nicht, was er dann die ganze Zeit macht...<br />
Was hab ich falsch gemacht?</p>
<p>Danke schon mal...<br />
Tom</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/186041/konsole-amp-amp-mysql</link><generator>RSS for Node</generator><lastBuildDate>Sun, 16 Aug 2026 11:58:58 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/186041.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 04 Jul 2007 11:12:08 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Konsole &amp;amp;&amp;amp; MySQL on Wed, 04 Jul 2007 11:12:08 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">void __fastcall mysql::mysql (TForm *form, AnsiString driver, ...)
 {
          this-&gt;connection = new TSQLConnection(form);
          this-&gt;connection-&gt;DriverName = driver;
          this-&gt;connection-&gt;Params-&gt;Values[&quot;DriverName&quot;] = driver;
          this-&gt;connection-&gt;Params-&gt;Values[&quot;User_Name&quot;] = user;
          this-&gt;connection-&gt;Params-&gt;Values[&quot;Password&quot;] = pwd;
          this-&gt;connection-&gt;Params-&gt;Values[&quot;HostName&quot;] = hostname;
          this-&gt;connection-&gt;Params-&gt;Values[&quot;Database&quot;] = database;
          this-&gt;connection-&gt;LibraryName = &quot;dbexpmysql.dll&quot;;
          this-&gt;connection-&gt;VendorLib = &quot;libmySQL.dll&quot;;
          this-&gt;connection-&gt;KeepConnection = true;
          this-&gt;connection-&gt;GetDriverFunc = &quot;getSQLDriverMYSQL&quot;;
          this-&gt;connection-&gt;Open(); //HIER
          this-&gt;dataset = new TSQLDataSet(form);
//und so weiter...
 }
</code></pre>
<p>das ist mein Konstruktor der MySQL-Klasse... Es ging die ganze Zeit - aber jetzt, wo ich die GUI nicht mehr brauche und das Projekt einfach zur Konsolenanwendung deklassiert habe, will es nicht mehr...<br />
Die Klasse an sich initialisiere ich so:</p>
<pre><code class="language-cpp">MySQL = new mysql (NULL, &quot;asd&quot;, &quot;asd&quot;, ...);
</code></pre>
<p>und es läuft alles richtig ab - bis zu dem Zeitpunkt, wo er die Verbindung öffnet... (&quot;//HIER&quot;)<br />
Dort bleibt er einfach stehen und ich weiß nicht, was er dann die ganze Zeit macht...<br />
Was hab ich falsch gemacht?</p>
<p>Danke schon mal...<br />
Tom</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1318118</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1318118</guid><dc:creator><![CDATA[unskilled]]></dc:creator><pubDate>Wed, 04 Jul 2007 11:12:08 GMT</pubDate></item></channel></rss>