<?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[ODBC-Registrierung]]></title><description><![CDATA[<p>Hallo,<br />
ich bekomme bei ODBC-Registrierung:</p>
<pre><code class="language-cpp">SQLConfigDataSource(NULL,ODBC_ADD_DSN,&quot;Microsoft Access Driver (*.mdb)\0&quot;,
&quot;DSN=MDB\\0&quot;&quot;Description=MDB\\0&quot;&quot;FileType=Access\\0&quot; &quot;DBQ=D:\\joerg\\Programmierung\\Datenbank\\DB-BEISP\\BEISPIEL.MDB\\0&quot;);
</code></pre>
<p>Folgende Fehlermeldung:</p>
<blockquote>
<p>error C2065: 'SQLConfigDataSource' : nichtdeklarierter Bezeichner<br />
error C2065: 'ODBC_ADD_DSN' : nichtdeklarierter Bezeichner</p>
</blockquote>
<p>Muss ich einen header einbinden?, zur Info programmier mit Visual Studio 6.0</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/51163/odbc-registrierung</link><generator>RSS for Node</generator><lastBuildDate>Sun, 19 Apr 2026 21:21:18 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/51163.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 07 Oct 2003 16:46:16 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to ODBC-Registrierung on Tue, 07 Oct 2003 16:46:16 GMT]]></title><description><![CDATA[<p>Hallo,<br />
ich bekomme bei ODBC-Registrierung:</p>
<pre><code class="language-cpp">SQLConfigDataSource(NULL,ODBC_ADD_DSN,&quot;Microsoft Access Driver (*.mdb)\0&quot;,
&quot;DSN=MDB\\0&quot;&quot;Description=MDB\\0&quot;&quot;FileType=Access\\0&quot; &quot;DBQ=D:\\joerg\\Programmierung\\Datenbank\\DB-BEISP\\BEISPIEL.MDB\\0&quot;);
</code></pre>
<p>Folgende Fehlermeldung:</p>
<blockquote>
<p>error C2065: 'SQLConfigDataSource' : nichtdeklarierter Bezeichner<br />
error C2065: 'ODBC_ADD_DSN' : nichtdeklarierter Bezeichner</p>
</blockquote>
<p>Muss ich einen header einbinden?, zur Info programmier mit Visual Studio 6.0</p>
]]></description><link>https://www.c-plusplus.net/forum/post/367788</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/367788</guid><dc:creator><![CDATA[schussen]]></dc:creator><pubDate>Tue, 07 Oct 2003 16:46:16 GMT</pubDate></item><item><title><![CDATA[Reply to ODBC-Registrierung on Tue, 07 Oct 2003 17:13:07 GMT]]></title><description><![CDATA[<p>#include &lt;odbcinst.h&gt;</p>
]]></description><link>https://www.c-plusplus.net/forum/post/367803</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/367803</guid><dc:creator><![CDATA[case]]></dc:creator><pubDate>Tue, 07 Oct 2003 17:13:07 GMT</pubDate></item><item><title><![CDATA[Reply to ODBC-Registrierung on Tue, 07 Oct 2003 17:24:13 GMT]]></title><description><![CDATA[<p>thx</p>
<p>bekomme jetz folgende fehlermeldung:</p>
<pre><code class="language-cpp">error LNK2001: unresolved external symbol _SQLConfigDataSource@16
Debug/Ov_vers1.exe : fatal error LNK1120: 1 unresolved externals
</code></pre>
<p>liegt das an den parametern?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/367811</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/367811</guid><dc:creator><![CDATA[schussen]]></dc:creator><pubDate>Tue, 07 Oct 2003 17:24:13 GMT</pubDate></item><item><title><![CDATA[Reply to ODBC-Registrierung on Tue, 07 Oct 2003 17:33:29 GMT]]></title><description><![CDATA[<p>odbc library linken (linkereinstellungen)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/367813</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/367813</guid><dc:creator><![CDATA[=)]]></dc:creator><pubDate>Tue, 07 Oct 2003 17:33:29 GMT</pubDate></item><item><title><![CDATA[Reply to ODBC-Registrierung on Wed, 08 Oct 2003 07:26:00 GMT]]></title><description><![CDATA[<p>hallo erst mal danke fuer eure antworten.<br />
dumm ist nur dass ich auf meinem rechner keine odbc.lib finden kann? ich hab auf meinem rechner visual studio professional edition installiert.<br />
aus der hilfe hab ich folgenden hinweis:</p>
<blockquote>
<p>The ODBC.LIB file that ships with Visual C++ and the ODBC Software Development Kit (SDK) publicly export the Window Exit Procedure (WEP).</p>
</blockquote>
<p>benoetige ich zusaetlich den ODBC Software Development Kit (SDK)?<br />
werde mal weitersuchen , vielleicht faellt euch ja noch etwas dazu ein!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/368028</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/368028</guid><dc:creator><![CDATA[schussen]]></dc:creator><pubDate>Wed, 08 Oct 2003 07:26:00 GMT</pubDate></item><item><title><![CDATA[Reply to ODBC-Registrierung on Wed, 08 Oct 2003 12:17:29 GMT]]></title><description><![CDATA[<p>Bei mir gibt es eine ODBC32.LIB und eine ODBCCP32.LIB <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f644.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_with_rolling_eyes"
      title=":rolling_eyes:"
      alt="🙄"
    /><br />
Versuch es mal mit einer von denen <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/368278</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/368278</guid><dc:creator><![CDATA[flenders]]></dc:creator><pubDate>Wed, 08 Oct 2003 12:17:29 GMT</pubDate></item><item><title><![CDATA[Reply to ODBC-Registrierung on Wed, 08 Oct 2003 13:06:26 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://www.c-plusplus.net/forum/uid/1644">@flenders</a><br />
jau, mal vielen Dank, ich habe es zunaechst mit der ODBC32.LIB versucht, hat aber nicht geklappt, aber dafür mit der ODBCCP32.LIB. Jetzt bekomm ich beim linken auf jeden Fall keine Fehlermeldung mehr!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/368327</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/368327</guid><dc:creator><![CDATA[schussen]]></dc:creator><pubDate>Wed, 08 Oct 2003 13:06:26 GMT</pubDate></item><item><title><![CDATA[Reply to ODBC-Registrierung on Thu, 10 Nov 2005 00:55:19 GMT]]></title><description><![CDATA[<p>Hallo Leute,</p>
<p>habe auch mal versucht einen dsn-eintrag per code zu erstellen, doch bekomme ich dauernd folgende fehlermeldung:</p>
<blockquote>
<p>[Linker Fehler] Unresolved external 'SQLConfigDataSource' referenced from D:\EXE\UNIT1.OBJ</p>
</blockquote>
<p>habe ein leeres Project angefangen mit dem bcb5pro und nur einen Button hinzugefügt. in der .h datei habe ich nichts geschrieben, nur in der .cpp:</p>
<pre><code class="language-cpp">//---------------------------------------------------------------------------

#include &lt;vcl.h&gt;
#pragma hdrstop

#include &quot;Unit1.h&quot;
#include &lt;odbcinst.h&gt;
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource &quot;*.dfm&quot;
TForm1 *Form1;
//---------------------------------------------------------------------------
__fastcall TForm1::TForm1(TComponent* Owner)
    : TForm(Owner)
{
}
//---------------------------------------------------------------------------

void __fastcall TForm1::Button1Click(TObject *Sender)
{
    bool Temp = SQLConfigDataSource(NULL,ODBC_ADD_DSN,&quot;SQL Server&quot;,&quot;User Name=sa\0Password=sa\0Database=testdb\0DSN=MySQLServer\0Description=HALLO DU DA\0Server=127.0.0.1&quot;);
    if(Temp)
    {
        ShowMessage(&quot;OK&quot;);
    }
    else
    {
        ShowMessage(&quot;FALSCH&quot;);
    }
}
//---------------------------------------------------------------------------
</code></pre>
<p>zum einlinken der odbc32.lib bin ich auf &quot;dem projekt hinzufügen gegangen&quot;, finde auch keine odbccp32.lib.</p>
<p>mache ich noch irgendetwas falsch, bitte um hilfe.</p>
<p>Gruß Gerd</p>
]]></description><link>https://www.c-plusplus.net/forum/post/913486</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/913486</guid><dc:creator><![CDATA[gerd01]]></dc:creator><pubDate>Thu, 10 Nov 2005 00:55:19 GMT</pubDate></item></channel></rss>