<?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[Fehler beim Dialog erstellen]]></title><description><![CDATA[<p>Hallo<br />
Ich habe ein SDI Programm geschrieben mit CFormView.<br />
Nun möchte ich gern einen neuen Dialog erstellen, mit Basisklasse CView.(Geht das überhaupt?).<br />
Ich habe in meiner C....View.h die neue h.Datei eingebunden,<br />
eine neue Member Variable erstellt.( protected: CDialogNeu dialNeu;)</p>
<p>Beim erstellen bekomme ich folgende Fehlermeldung:</p>
<p>CDialogNeu::CDialogNeu&quot; : Kein Zugriff auf protected Element, dessen Deklaration in der Klasse &quot;CDialogNeu&quot; erfolgte<br />
Siehe Deklaration von 'CDialogNeu::CDialogNeu'<br />
&quot;CDialogNeu::~CDialogNeu&quot; : Kein Zugriff auf protected Element, dessen Deklaration in der Klasse &quot;CDialogNeu&quot; erfolgte<br />
Siehe Deklaration von 'CDialogNeu::~CDialogNeu'</p>
<p>Kann mir jemand helfen?<br />
Danke im voraus.</p>
<p>zisu</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/62387/fehler-beim-dialog-erstellen</link><generator>RSS for Node</generator><lastBuildDate>Thu, 04 Jun 2026 01:20:54 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/62387.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 22 Jan 2004 18:54:25 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Fehler beim Dialog erstellen on Thu, 22 Jan 2004 18:54:25 GMT]]></title><description><![CDATA[<p>Hallo<br />
Ich habe ein SDI Programm geschrieben mit CFormView.<br />
Nun möchte ich gern einen neuen Dialog erstellen, mit Basisklasse CView.(Geht das überhaupt?).<br />
Ich habe in meiner C....View.h die neue h.Datei eingebunden,<br />
eine neue Member Variable erstellt.( protected: CDialogNeu dialNeu;)</p>
<p>Beim erstellen bekomme ich folgende Fehlermeldung:</p>
<p>CDialogNeu::CDialogNeu&quot; : Kein Zugriff auf protected Element, dessen Deklaration in der Klasse &quot;CDialogNeu&quot; erfolgte<br />
Siehe Deklaration von 'CDialogNeu::CDialogNeu'<br />
&quot;CDialogNeu::~CDialogNeu&quot; : Kein Zugriff auf protected Element, dessen Deklaration in der Klasse &quot;CDialogNeu&quot; erfolgte<br />
Siehe Deklaration von 'CDialogNeu::~CDialogNeu'</p>
<p>Kann mir jemand helfen?<br />
Danke im voraus.</p>
<p>zisu</p>
]]></description><link>https://www.c-plusplus.net/forum/post/442132</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/442132</guid><dc:creator><![CDATA[zisu]]></dc:creator><pubDate>Thu, 22 Jan 2004 18:54:25 GMT</pubDate></item><item><title><![CDATA[Reply to Fehler beim Dialog erstellen on Thu, 22 Jan 2004 19:08:19 GMT]]></title><description><![CDATA[<p>Protected heißt private aber für abgeleitete Klassen auch zugänglich, im Gegensatz zu privaten Elementen, die für abgeleitete Klassen nicht zugänglich sind. Aber auf jeden Fall private. Wenn du also einen Konstruktor hast, der mit protected deklariert wurde, kannst du außerhalb deiner Klasse nicht darauf zugreifen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/442138</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/442138</guid><dc:creator><![CDATA[CLoop]]></dc:creator><pubDate>Thu, 22 Jan 2004 19:08:19 GMT</pubDate></item></channel></rss>