<?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[Meldung: Nicht unterstützter Vorgang!]]></title><description><![CDATA[<p>Hallo,</p>
<p>na toll, es ist fast Wochenende und mein Programm funktioniert auf einmal nicht mehr.<br />
Bekomme an dieser Stelle ne Fehlermeldung, wenn ich in meiner SDI-Anwendung nen Dialog aufrufe:</p>
<p>[cpp]WND CDataExchange::PrepareCtrl(int nIDC)<br />
{<br />
ASSERT(nIDC != 0);<br />
ASSERT(nIDC != -1); // not allowed<br />
HWND hWndCtrl;<br />
COleControlSite* pSite = NULL;<br />
m_pDlgWnd-&gt;GetDlgItem(nIDC, &amp;hWndCtrl);<br />
if (hWndCtrl == NULL)<br />
{<br />
// Could be a windowless OCX<br />
pSite = m_pDlgWnd-&gt;GetOleControlSite(nIDC);<br />
if (pSite == NULL)<br />
{<br />
TRACE(traceAppMsg, 0, &quot;Error: no data exchange control with ID 0x%04X.\n&quot;, nIDC);<br />
[e]rarr[/e] <strong>ASSERT(FALSE);</strong><br />
AfxThrowNotSupportedException();<br />
}<br />
}<br />
m_idLastControl = nIDC;<br />
m_bEditLastControl = FALSE; // not an edit item by default</p>
<p>return hWndCtrl;<br />
}[/cpp]</p>
<p>und wenn ich den Fehler Ignorieren lasse, erhalte ich ne MB &quot;Es wurde Versucht, einen nicht unterstützten Vorgang aufzurufen!&quot; und mein Dialog erscheint nicht.</p>
<p>In der Ausgabe steht &quot;Error: no data exchange control with ID 0x03E8.&quot;</p>
<p>Kann mir da jemand weiterhelfen?</p>
<p>Ciao Mellsche</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/78510/meldung-nicht-unterstützter-vorgang</link><generator>RSS for Node</generator><lastBuildDate>Tue, 21 Apr 2026 20:23:00 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/78510.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 02 Jul 2004 06:14:52 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Meldung: Nicht unterstützter Vorgang! on Fri, 02 Jul 2004 06:14:52 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>na toll, es ist fast Wochenende und mein Programm funktioniert auf einmal nicht mehr.<br />
Bekomme an dieser Stelle ne Fehlermeldung, wenn ich in meiner SDI-Anwendung nen Dialog aufrufe:</p>
<p>[cpp]WND CDataExchange::PrepareCtrl(int nIDC)<br />
{<br />
ASSERT(nIDC != 0);<br />
ASSERT(nIDC != -1); // not allowed<br />
HWND hWndCtrl;<br />
COleControlSite* pSite = NULL;<br />
m_pDlgWnd-&gt;GetDlgItem(nIDC, &amp;hWndCtrl);<br />
if (hWndCtrl == NULL)<br />
{<br />
// Could be a windowless OCX<br />
pSite = m_pDlgWnd-&gt;GetOleControlSite(nIDC);<br />
if (pSite == NULL)<br />
{<br />
TRACE(traceAppMsg, 0, &quot;Error: no data exchange control with ID 0x%04X.\n&quot;, nIDC);<br />
[e]rarr[/e] <strong>ASSERT(FALSE);</strong><br />
AfxThrowNotSupportedException();<br />
}<br />
}<br />
m_idLastControl = nIDC;<br />
m_bEditLastControl = FALSE; // not an edit item by default</p>
<p>return hWndCtrl;<br />
}[/cpp]</p>
<p>und wenn ich den Fehler Ignorieren lasse, erhalte ich ne MB &quot;Es wurde Versucht, einen nicht unterstützten Vorgang aufzurufen!&quot; und mein Dialog erscheint nicht.</p>
<p>In der Ausgabe steht &quot;Error: no data exchange control with ID 0x03E8.&quot;</p>
<p>Kann mir da jemand weiterhelfen?</p>
<p>Ciao Mellsche</p>
]]></description><link>https://www.c-plusplus.net/forum/post/551421</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/551421</guid><dc:creator><![CDATA[Mellsche]]></dc:creator><pubDate>Fri, 02 Jul 2004 06:14:52 GMT</pubDate></item><item><title><![CDATA[Reply to Meldung: Nicht unterstützter Vorgang! on Fri, 02 Jul 2004 06:17:51 GMT]]></title><description><![CDATA[<p>pSite == NULL !!</p>
<p>Prüfe mal</p>
<p>pSite = m_pDlgWnd-&gt;GetOleControlSite(nIDC);</p>
]]></description><link>https://www.c-plusplus.net/forum/post/551423</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/551423</guid><dc:creator><![CDATA[nonamebody]]></dc:creator><pubDate>Fri, 02 Jul 2004 06:17:51 GMT</pubDate></item><item><title><![CDATA[Reply to Meldung: Nicht unterstützter Vorgang! on Fri, 02 Jul 2004 06:23:38 GMT]]></title><description><![CDATA[<p>Lach mich nicht aus, aber was soll ich da genau prüfen? <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/551427</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/551427</guid><dc:creator><![CDATA[Mellsche]]></dc:creator><pubDate>Fri, 02 Jul 2004 06:23:38 GMT</pubDate></item><item><title><![CDATA[Reply to Meldung: Nicht unterstützter Vorgang! on Fri, 02 Jul 2004 06:27:07 GMT]]></title><description><![CDATA[<p>m_pDlgWnd-&gt;GetOleControlSite(nIDC)</p>
<p>was für einen wert hat nIDC, was passiert in der Methode GetOleControlSite ??</p>
]]></description><link>https://www.c-plusplus.net/forum/post/551430</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/551430</guid><dc:creator><![CDATA[nonamebody]]></dc:creator><pubDate>Fri, 02 Jul 2004 06:27:07 GMT</pubDate></item><item><title><![CDATA[Reply to Meldung: Nicht unterstützter Vorgang! on Fri, 02 Jul 2004 06:29:53 GMT]]></title><description><![CDATA[<p>nIDC = 1000 also 0x3E8 und m_pCtrlCont = 0</p>
]]></description><link>https://www.c-plusplus.net/forum/post/551432</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/551432</guid><dc:creator><![CDATA[Mellsche]]></dc:creator><pubDate>Fri, 02 Jul 2004 06:29:53 GMT</pubDate></item><item><title><![CDATA[Reply to Meldung: Nicht unterstützter Vorgang! on Fri, 02 Jul 2004 06:31:13 GMT]]></title><description><![CDATA[<p>Stepe mal in die Methode m_pDlgWnd-&gt;GetOleControlSite(nIDC)<br />
rein, und sieh nach warum NULL zurückgegeben wird !</p>
]]></description><link>https://www.c-plusplus.net/forum/post/551434</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/551434</guid><dc:creator><![CDATA[nonamebody]]></dc:creator><pubDate>Fri, 02 Jul 2004 06:31:13 GMT</pubDate></item><item><title><![CDATA[Reply to Meldung: Nicht unterstützter Vorgang! on Fri, 02 Jul 2004 06:32:55 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">if (m_pCtrlCont != NULL )
   {
	  return( m_pCtrlCont-&gt;FindItem(idControl) );
   }
   else
   {
	  return( NULL );
   }
</code></pre>
<p>da m_pCtrlCont = NULL → return NULL</p>
]]></description><link>https://www.c-plusplus.net/forum/post/551436</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/551436</guid><dc:creator><![CDATA[Mellsche]]></dc:creator><pubDate>Fri, 02 Jul 2004 06:32:55 GMT</pubDate></item><item><title><![CDATA[Reply to Meldung: Nicht unterstützter Vorgang! on Fri, 02 Jul 2004 06:33:59 GMT]]></title><description><![CDATA[<p>wo wird pCtrlCont etwas zugewiesen ?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/551438</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/551438</guid><dc:creator><![CDATA[nonamebody]]></dc:creator><pubDate>Fri, 02 Jul 2004 06:33:59 GMT</pubDate></item><item><title><![CDATA[Reply to Meldung: Nicht unterstützter Vorgang! on Fri, 02 Jul 2004 06:48:28 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">WND CDataExchange::PrepareCtrl(int nIDC)
{
    ASSERT(nIDC != 0);
    ASSERT(nIDC != -1); // not allowed
    HWND hWndCtrl;
   COleControlSite* pSite = NULL;
    m_pDlgWnd-&gt;GetDlgItem(nIDC, &amp;hWndCtrl);
    if (hWndCtrl == NULL)
    {
      // Could be a windowless OCX
      pSite = m_pDlgWnd-&gt;GetOleControlSite(nIDC);
      if (pSite == NULL)
      {
           TRACE(traceAppMsg, 0, &quot;Error: no data exchange control with ID 0x%04X.\n&quot;, nIDC);
           ASSERT(FALSE);
           AfxThrowNotSupportedException();
      }
    }
    m_idLastControl = nIDC;
    m_bEditLastControl = FALSE; // not an edit item by default

   return hWndCtrl
</code></pre>
<p>Meinst du hier:</p>
<p>COleControlSite* pSite = NULL;</p>
]]></description><link>https://www.c-plusplus.net/forum/post/551444</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/551444</guid><dc:creator><![CDATA[Mellsche]]></dc:creator><pubDate>Fri, 02 Jul 2004 06:48:28 GMT</pubDate></item><item><title><![CDATA[Reply to Meldung: Nicht unterstützter Vorgang! on Fri, 02 Jul 2004 06:53:32 GMT]]></title><description><![CDATA[<p>Nein, ich habe mich vorhin vertippt, ich meinte</p>
<pre><code class="language-cpp">m_pCtrlCont
</code></pre>
<p>Dein Code sagt ja, dass wenn m_pCtrlCont Null is, gib NULL zurück.<br />
Damit das ding aber nicht null is, muss vorher etwas zugewiesen werden.</p>
<pre><code class="language-cpp">if (m_pCtrlCont != NULL )
   {
      return( m_pCtrlCont-&gt;FindItem(idControl) );
   }
   else
   {
      return( NULL );
   }
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/551453</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/551453</guid><dc:creator><![CDATA[nonamebody]]></dc:creator><pubDate>Fri, 02 Jul 2004 06:53:32 GMT</pubDate></item><item><title><![CDATA[Reply to Meldung: Nicht unterstützter Vorgang! on Fri, 02 Jul 2004 06:55:23 GMT]]></title><description><![CDATA[<p>JUUUUUHHHHUUUUU! Ich habs!<br />
Hab im Editor die Bezeichnung einer ID geändert, im Code aber nicht, deshalb hat er sie nicht gefunden!</p>
<p>Danke für deine Hilfe!!! <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/551455</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/551455</guid><dc:creator><![CDATA[Mellsche]]></dc:creator><pubDate>Fri, 02 Jul 2004 06:55:23 GMT</pubDate></item></channel></rss>