<?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[XML-Parser unter Visual C++.Net]]></title><description><![CDATA[<p>hallo,<br />
habe folgendes problem:<br />
Ich möchte unter Visual <a href="http://C++.Net" rel="nofollow">C++.Net</a> in ein bestehendes MFC-Projekt die XML-Klasse implementieren, und ein Objekt</p>
<p>XmlTextWriter* txt_wrt;</p>
<p>anlegen.</p>
<p>dazu sieht mein Includeng-Part in der ChildView.cpp so aus</p>
<pre><code class="language-cpp">#include &quot;stdafx.h&quot;
#include &quot;CImage.h&quot;
#include &quot;ChildView.h&quot;
#include &quot;InfoDlg.h&quot;
#include &quot;LoadScenario.h&quot;
#include &quot;MainFrm.h&quot;
#include &quot;About.h&quot;

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

#include &lt;tchar.h&gt;
#using &lt;System.dll&gt;
#using	&lt;mscorlib.dll&gt;
#using &lt;System.Xml.dll&gt;

using namespace System;
using namespace System::Xml;
</code></pre>
<p>möchte dann in der funktion &quot;ChangeOpt&quot; ein XmlTextreader-Objekt erstellen:</p>
<pre><code class="language-cpp">XmlTextReader* xml_rd = new XmlTextReader(&quot;BER_PUB_Sites.xml&quot;);
</code></pre>
<p>und erhalte folgenden Fehler:</p>
<p>&quot;c:\diplomarbeit\umts_bs_optimierung\UMTS_NodeB_Optimizing\ChildView.cpp(492): error C3828: 'System::Xml::XmlTextReader': Positionierungsargumente sind während des Erstellens von Instanzen von verwalteten Klassen nicht zulässig&quot;</p>
<p>was mache ich hier falsch ????</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/80907/xml-parser-unter-visual-c-net</link><generator>RSS for Node</generator><lastBuildDate>Fri, 17 Apr 2026 19:29:42 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/80907.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 26 Jul 2004 11:46:05 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to XML-Parser unter Visual C++.Net on Mon, 26 Jul 2004 11:46:05 GMT]]></title><description><![CDATA[<p>hallo,<br />
habe folgendes problem:<br />
Ich möchte unter Visual <a href="http://C++.Net" rel="nofollow">C++.Net</a> in ein bestehendes MFC-Projekt die XML-Klasse implementieren, und ein Objekt</p>
<p>XmlTextWriter* txt_wrt;</p>
<p>anlegen.</p>
<p>dazu sieht mein Includeng-Part in der ChildView.cpp so aus</p>
<pre><code class="language-cpp">#include &quot;stdafx.h&quot;
#include &quot;CImage.h&quot;
#include &quot;ChildView.h&quot;
#include &quot;InfoDlg.h&quot;
#include &quot;LoadScenario.h&quot;
#include &quot;MainFrm.h&quot;
#include &quot;About.h&quot;

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

#include &lt;tchar.h&gt;
#using &lt;System.dll&gt;
#using	&lt;mscorlib.dll&gt;
#using &lt;System.Xml.dll&gt;

using namespace System;
using namespace System::Xml;
</code></pre>
<p>möchte dann in der funktion &quot;ChangeOpt&quot; ein XmlTextreader-Objekt erstellen:</p>
<pre><code class="language-cpp">XmlTextReader* xml_rd = new XmlTextReader(&quot;BER_PUB_Sites.xml&quot;);
</code></pre>
<p>und erhalte folgenden Fehler:</p>
<p>&quot;c:\diplomarbeit\umts_bs_optimierung\UMTS_NodeB_Optimizing\ChildView.cpp(492): error C3828: 'System::Xml::XmlTextReader': Positionierungsargumente sind während des Erstellens von Instanzen von verwalteten Klassen nicht zulässig&quot;</p>
<p>was mache ich hier falsch ????</p>
]]></description><link>https://www.c-plusplus.net/forum/post/568394</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/568394</guid><dc:creator><![CDATA[shoeny]]></dc:creator><pubDate>Mon, 26 Jul 2004 11:46:05 GMT</pubDate></item><item><title><![CDATA[Reply to XML-Parser unter Visual C++.Net on Mon, 26 Jul 2004 21:18:59 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>wenn man MFC-Code mit &quot;managed code&quot; mischt, muß man das hier:</p>
<p><a href="http://msdn.microsoft.com/library/deu/default.asp?url=/library/deu/vcmex/html/vcconmanagedtypesmfc.asp" rel="nofollow">http://msdn.microsoft.com/library/deu/default.asp?url=/library/deu/vcmex/html/vcconmanagedtypesmfc.asp</a></p>
<p>beachten.</p>
<p>MfG</p>
]]></description><link>https://www.c-plusplus.net/forum/post/568987</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/568987</guid><dc:creator><![CDATA[Probe-Nutzer]]></dc:creator><pubDate>Mon, 26 Jul 2004 21:18:59 GMT</pubDate></item></channel></rss>