<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : CXTPTaskDialog CreateFromResource problem</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : CXTPTaskDialog CreateFromResource problem]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 13 Jun 2026 16:17:25 +0000</pubDate>
  <lastBuildDate>Fri, 05 Oct 2007 03:09:18 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=8295</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[CXTPTaskDialog CreateFromResource problem : Hello, It was right error. valid...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8295&amp;PID=26962&amp;title=cxtptaskdialog-createfromresource-problem#26962</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 8295<br /><strong>Posted:</strong> 05 October 2007 at 3:09am<br /><br /><DIV>Hello,</DIV><DIV>It was&nbsp; right error. valid XML file must have only one root element.</DIV>]]>
   </description>
   <pubDate>Fri, 05 Oct 2007 03:09:18 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8295&amp;PID=26962&amp;title=cxtptaskdialog-createfromresource-problem#26962</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPTaskDialog CreateFromResource problem : I think I may have solved my problem...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8295&amp;PID=26925&amp;title=cxtptaskdialog-createfromresource-problem#26925</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2432">scottp</a><br /><strong>Subject:</strong> 8295<br /><strong>Posted:</strong> 04 October 2007 at 10:36am<br /><br />I think I may have solved my problem by ensuring the XML resource file is really in utf-8 format. The localisation software now does not add the META tag. <br>Hopefully the XML resource will parse as expected once I get this change into the production build.<br><br>]]>
   </description>
   <pubDate>Thu, 04 Oct 2007 10:36:24 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8295&amp;PID=26925&amp;title=cxtptaskdialog-createfromresource-problem#26925</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPTaskDialog CreateFromResource problem : Hi,I am loading a task dialog...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8295&amp;PID=26920&amp;title=cxtptaskdialog-createfromresource-problem#26920</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2432">scottp</a><br /><strong>Subject:</strong> 8295<br /><strong>Posted:</strong> 04 October 2007 at 8:01am<br /><br /><font face="Arial, Helvetica, sans-serif" size="2">Hi,<br><br>I am loading a task dialog XML definition from my resources using CXTPTaskDialog::CreateFromResource. This has been working great and I am very happy with the results. However I have hit a major problem. <br><br>The task dialog XML is included in the resources as a HTML dialog. When our resources DLL is processed by our localisation software it inserts a META tag at the front of the XML:</font><br><br><font face="Courier New, Courier, mono">&lt;META http-equiv="Content-Type" content="text/html; charset=Windows-1252"/&gt;<br>&lt;?xml version="1.0" encoding="utf-8"?&gt;<br>&lt;Dialogs&gt;<br>&nbsp; &lt;Dialog AllowCancel="True" Name="SecurityError"&gt;<br>&nbsp; ... etc ...<br><br><font face="Arial, Helvetica, sans-serif"><font face="Arial, Helvetica, sans-serif" size="2">When trying to load this XML resource the xml parser issues a error as expected:</font><br><font face="Courier New, Courier, mono">Warning: CXTPPropExchangeXMLNode::LoadFromString failed. ParseError.Reason = Only one top level element is allowed in an XML document.<br><br>Does anyone have any good ideas to get around this problem?<br><br>Thanks,<br><br>Scott<br></font></font></font>]]>
   </description>
   <pubDate>Thu, 04 Oct 2007 08:01:18 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8295&amp;PID=26920&amp;title=cxtptaskdialog-createfromresource-problem#26920</guid>
  </item> 
 </channel>
</rss>