<?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[ActiveX-Komponente importieren klappt nicht! WAS IST DAS?]]></title><description><![CDATA[<p>Moin!</p>
<p>ich muss so ne blöde I/O-Karte ansprechen. Mit der Karte hab ich Treiber und ActiveX-Komponenten installiert.<br />
Jetzt wollte ich die erste Testanwendung schreiben (mit BCB6). Dazu muss ich die ActiveX-K. ja erstmal in den BCB kriegen.<br />
Bin dann auf Komponenten-&gt;ActiveX importieren. Dann hab ich die Komponente ausgewählt und auf installieren geklickt.<br />
Beim kompilieren meckert er dann u.a. in der Unit, dass CControlData kein Element der Klasse ist.</p>
<p>Das Problem:<br />
Ich hab auch keinen Plan, was das ist!<br />
Original Code:</p>
<pre><code class="language-cpp">TControlData TPci300x::CControlData =
{
  // GUID von CoClass und Ereignisschnittstelle des Elements
  {0x7B692ED8, 0xFB0B, 0x11D3,{ 0x83, 0x19, 0x00,0x10, 0x5A, 0x38,0x31, 0xC1} }, // CoClass
  {0x7B692ED7, 0xFB0B, 0x11D3,{ 0x83, 0x19, 0x00,0x10, 0x5A, 0x38,0x31, 0xC1} }, // Ereignisse

  // Anzahl von Ereignissen und Array ihrer DISPIDs
  0, NULL,

  // Zeiger auf den Laufzeit-Lizenz-String     
  NULL,  // HRESULT(0x80004005)

  // Flags für OnChanged PropertyNotification
  0x00000000,
  300,// (IDE-Version)

  // Anzahl von Font-Eigenschaften und Array ihrer DISPIDs
  0, NULL,

  // Anzahl von Pict-Eigenschaften und Array ihrer DISPIDs
  0, NULL,
  0, // Reserviert
  0, // Instanzenzähler (intern benutzt)
  0, // Liste von Enum-Beschreibungen (intern)
};
</code></pre>
<p>In der Klasse selbst ist es auch nicht als Prototyp oder sonstwas deklariert.<br />
Ich würde es ja mal da deklarieren, aber ich hab halt keinen Plan wie!</p>
<p>Brauche dringend Hilfe!!!</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/95116/activex-komponente-importieren-klappt-nicht-was-ist-das</link><generator>RSS for Node</generator><lastBuildDate>Fri, 10 Jul 2026 15:53:19 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/95116.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 16 Dec 2004 10:46:54 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to ActiveX-Komponente importieren klappt nicht! WAS IST DAS? on Thu, 16 Dec 2004 10:46:54 GMT]]></title><description><![CDATA[<p>Moin!</p>
<p>ich muss so ne blöde I/O-Karte ansprechen. Mit der Karte hab ich Treiber und ActiveX-Komponenten installiert.<br />
Jetzt wollte ich die erste Testanwendung schreiben (mit BCB6). Dazu muss ich die ActiveX-K. ja erstmal in den BCB kriegen.<br />
Bin dann auf Komponenten-&gt;ActiveX importieren. Dann hab ich die Komponente ausgewählt und auf installieren geklickt.<br />
Beim kompilieren meckert er dann u.a. in der Unit, dass CControlData kein Element der Klasse ist.</p>
<p>Das Problem:<br />
Ich hab auch keinen Plan, was das ist!<br />
Original Code:</p>
<pre><code class="language-cpp">TControlData TPci300x::CControlData =
{
  // GUID von CoClass und Ereignisschnittstelle des Elements
  {0x7B692ED8, 0xFB0B, 0x11D3,{ 0x83, 0x19, 0x00,0x10, 0x5A, 0x38,0x31, 0xC1} }, // CoClass
  {0x7B692ED7, 0xFB0B, 0x11D3,{ 0x83, 0x19, 0x00,0x10, 0x5A, 0x38,0x31, 0xC1} }, // Ereignisse

  // Anzahl von Ereignissen und Array ihrer DISPIDs
  0, NULL,

  // Zeiger auf den Laufzeit-Lizenz-String     
  NULL,  // HRESULT(0x80004005)

  // Flags für OnChanged PropertyNotification
  0x00000000,
  300,// (IDE-Version)

  // Anzahl von Font-Eigenschaften und Array ihrer DISPIDs
  0, NULL,

  // Anzahl von Pict-Eigenschaften und Array ihrer DISPIDs
  0, NULL,
  0, // Reserviert
  0, // Instanzenzähler (intern benutzt)
  0, // Liste von Enum-Beschreibungen (intern)
};
</code></pre>
<p>In der Klasse selbst ist es auch nicht als Prototyp oder sonstwas deklariert.<br />
Ich würde es ja mal da deklarieren, aber ich hab halt keinen Plan wie!</p>
<p>Brauche dringend Hilfe!!!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/674406</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/674406</guid><dc:creator><![CDATA[el Clio]]></dc:creator><pubDate>Thu, 16 Dec 2004 10:46:54 GMT</pubDate></item><item><title><![CDATA[Reply to ActiveX-Komponente importieren klappt nicht! WAS IST DAS? on Thu, 16 Dec 2004 10:51:36 GMT]]></title><description><![CDATA[<p>versuchs mal mit der FAQ:<br />
<a href="http://www.c-plusplus.net/forum/viewtopic.php?t=39304" rel="nofollow">http://www.c-plusplus.net/forum/viewtopic.php?t=39304</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/674412</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/674412</guid><dc:creator><![CDATA[SilentSurfer]]></dc:creator><pubDate>Thu, 16 Dec 2004 10:51:36 GMT</pubDate></item><item><title><![CDATA[Reply to ActiveX-Komponente importieren klappt nicht! WAS IST DAS? on Thu, 16 Dec 2004 11:28:39 GMT]]></title><description><![CDATA[<p>SilentSurfer schrieb:</p>
<blockquote>
<p>versuchs mal mit der FAQ:<br />
<a href="http://www.c-plusplus.net/forum/viewtopic.php?t=39304" rel="nofollow">http://www.c-plusplus.net/forum/viewtopic.php?t=39304</a></p>
</blockquote>
<p>Sorry, hilft leider gar nicht! Hatte ich schon kontrolliert!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/674441</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/674441</guid><dc:creator><![CDATA[el Clio]]></dc:creator><pubDate>Thu, 16 Dec 2004 11:28:39 GMT</pubDate></item><item><title><![CDATA[Reply to ActiveX-Komponente importieren klappt nicht! WAS IST DAS? on Thu, 16 Dec 2004 11:35:49 GMT]]></title><description><![CDATA[<p>Hast Du mal nach &quot;CControlData&quot; gesucht?<br />
Falls Du noch einen BCB5 hast, kannst Du's ja mal damit probieren.</p>
<p>Gruß,</p>
<p>Alexander</p>
]]></description><link>https://www.c-plusplus.net/forum/post/674449</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/674449</guid><dc:creator><![CDATA[Alexander Kempf]]></dc:creator><pubDate>Thu, 16 Dec 2004 11:35:49 GMT</pubDate></item><item><title><![CDATA[Reply to ActiveX-Komponente importieren klappt nicht! WAS IST DAS? on Fri, 17 Dec 2004 07:25:52 GMT]]></title><description><![CDATA[<p>So! Das klappt jetzt!</p>
<p>Allerdings meckert er jetzt NACH dem kompilieren:</p>
<blockquote>
<p>Die Fehlersuche für ein Projekt kann nicht gestartet werden, solange keine Host-Anwendungn definiert ist.<br />
Verwenden sie das Dialogfenster Start|Parameter...</p>
</blockquote>
<p>Was sagt mir das???</p>
]]></description><link>https://www.c-plusplus.net/forum/post/675019</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/675019</guid><dc:creator><![CDATA[el Clio]]></dc:creator><pubDate>Fri, 17 Dec 2004 07:25:52 GMT</pubDate></item><item><title><![CDATA[Reply to ActiveX-Komponente importieren klappt nicht! WAS IST DAS? on Fri, 17 Dec 2004 07:47:49 GMT]]></title><description><![CDATA[<p>Vergesst, was ich geschrieben hab! Ich bin einfach doof!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/675030</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/675030</guid><dc:creator><![CDATA[el Clio]]></dc:creator><pubDate>Fri, 17 Dec 2004 07:47:49 GMT</pubDate></item><item><title><![CDATA[Reply to ActiveX-Komponente importieren klappt nicht! WAS IST DAS? on Fri, 17 Dec 2004 09:10:51 GMT]]></title><description><![CDATA[<p>el Clio schrieb:</p>
<blockquote>
<p>So! Das klappt jetzt!</p>
</blockquote>
<p>Und was hast Du gemacht? Vielleicht stoße ich oder andere irgendwann mal auf dasselbe Problem...</p>
<p>Gruß,</p>
<p>Alexander</p>
]]></description><link>https://www.c-plusplus.net/forum/post/675065</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/675065</guid><dc:creator><![CDATA[Alexander Kempf]]></dc:creator><pubDate>Fri, 17 Dec 2004 09:10:51 GMT</pubDate></item><item><title><![CDATA[Reply to ActiveX-Komponente importieren klappt nicht! WAS IST DAS? on Fri, 17 Dec 2004 13:10:10 GMT]]></title><description><![CDATA[<p>Wenn ich das wüsste...<br />
Ich bin nochmal alles ganz langsam und Schritt für Schritt durchgegangen.<br />
Dann war da tatsächlich eine Variable auskommentiert, die benötigt wurde, hatte aber nix mit meinem Problem zu tun.<br />
Dann hab ich ein bisschen rumgespielt (Dateien woanders gespeichert, versucht eigenes Package zu machen, etc.) - alles was halt so ging.<br />
Dann ging auf einmal gar nix mehr =&gt; Beim Kompilieren eine Anwendung kamen so lustige Meldungen wie &quot;vcl.h kann nicht geöffnet werden&quot; und andere Scherze (klarer Fall von kaputt!).</p>
<p>Dann hatte ich die Nase voll und hab den BCB komplett runtergeschmissen und neu installiert.<br />
Nochmal Komponenten-&gt;ActiveX importieren, die Var. ausm Kommentar geholt, kompiliert, istalliert und fertig...</p>
<p>Ich hab keinen Plan warum es diesmal ging und vorher nicht, aber ich sag da mal &quot;Microsoft!&quot;&quot;, &quot;Borland!&quot; und ich! <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";-)"
      alt="😉"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/675231</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/675231</guid><dc:creator><![CDATA[el Clio]]></dc:creator><pubDate>Fri, 17 Dec 2004 13:10:10 GMT</pubDate></item></channel></rss>