<?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[ATL Interface in MFC ActiveX]]></title><description><![CDATA[<p>Hallo Leute,</p>
<p>ich habe ein COM dll mit der MFC erstellt.<br />
In diesem COM dll Projekt gibt es eine Ctrl Klasse &lt;&lt;TestCtrl&gt;&gt; welche von CCmdTarget abgeleitet ist und diverse Interfaces gemäß der MFC implementiert. Das hat alles soweit funktioniert.</p>
<p>Nun soll meine COM dll ebenfalls das ATL Interface &lt;&lt;IPersistPropertyBagImpl&gt;&gt; implemtieren.<br />
Wenn ich das Interface jetzt in meiner Ctrl Klasse implementiere, schmeisst der Compiler mir die Meldung raus:</p>
<p>&quot;Instanz von abstrakter Klasse kann nicht erstellt werden&quot; --&gt; oder so ähnlich</p>
<p>Kann ich das Interface in einer ATL Klasse implementieren und mein Ctrl dazu bringen die Anfrage von Ausserhalb zu dieser Klasse zu tunneln?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/153383/atl-interface-in-mfc-activex</link><generator>RSS for Node</generator><lastBuildDate>Fri, 24 Jul 2026 05:54:23 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/153383.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 16 Jul 2006 09:46:12 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to ATL Interface in MFC ActiveX on Sun, 16 Jul 2006 09:46:12 GMT]]></title><description><![CDATA[<p>Hallo Leute,</p>
<p>ich habe ein COM dll mit der MFC erstellt.<br />
In diesem COM dll Projekt gibt es eine Ctrl Klasse &lt;&lt;TestCtrl&gt;&gt; welche von CCmdTarget abgeleitet ist und diverse Interfaces gemäß der MFC implementiert. Das hat alles soweit funktioniert.</p>
<p>Nun soll meine COM dll ebenfalls das ATL Interface &lt;&lt;IPersistPropertyBagImpl&gt;&gt; implemtieren.<br />
Wenn ich das Interface jetzt in meiner Ctrl Klasse implementiere, schmeisst der Compiler mir die Meldung raus:</p>
<p>&quot;Instanz von abstrakter Klasse kann nicht erstellt werden&quot; --&gt; oder so ähnlich</p>
<p>Kann ich das Interface in einer ATL Klasse implementieren und mein Ctrl dazu bringen die Anfrage von Ausserhalb zu dieser Klasse zu tunneln?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1098471</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1098471</guid><dc:creator><![CDATA[souso20]]></dc:creator><pubDate>Sun, 16 Jul 2006 09:46:12 GMT</pubDate></item></channel></rss>