<?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 : CXTPReportControl within an CFormView</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : CXTPReportControl within an CFormView]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 17 Apr 2026 22:01:58 +0000</pubDate>
  <lastBuildDate>Wed, 21 Feb 2007 06:58:55 +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=5313</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[CXTPReportControl within an CFormView : Hi Oleg. Thank You for your participation. Solution...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5313&amp;PID=20615&amp;title=cxtpreportcontrol-within-an-cformview#20615</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1999">FSauer</a><br /><strong>Subject:</strong> 5313<br /><strong>Posted:</strong> 21 February 2007 at 6:58am<br /><br /><P>Hi Oleg.</P><P>Thank You for your participation.</P><DIV>Solution 1:</DIV><DIV>&nbsp;CString strSystemPath = _T("");<BR>&nbsp;TCHAR&nbsp;szSysDirectory&#091;100&#093;;<BR>&nbsp;int i=GetSystemDirectory(szSysDirectory,100);<BR>&nbsp;strSystemPath.Format("%s\\ToolkitPro1010vc60D.dll",szSysDirectory);<BR>&nbsp;m_ResourceManager-&gt;SetResourceFile(strSystemPath);</DIV><DIV>&nbsp;</DIV><DIV>Solution 2:</DIV><DIV>XTPResourceManager()-&gt;SetResourceHandle(AfxGetInstanceHandle());<BR></DIV><DIV><DIV></DIV></DIV><DIV><DIV>I tried it (Solution 2), but it didn't work with a statically linking Project (SDI).</DIV><DIV>&nbsp;</DIV></DIV><DIV>So, I'm using beyond the solution 1.</DIV><DIV>&nbsp;</DIV><DIV>Best Regards</DIV><DIV>FSauer</DIV>]]>
   </description>
   <pubDate>Wed, 21 Feb 2007 06:58:55 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5313&amp;PID=20615&amp;title=cxtpreportcontrol-within-an-cformview#20615</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPReportControl within an CFormView : Hi,  Must work. If you use MFC...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5313&amp;PID=16759&amp;title=cxtpreportcontrol-within-an-cformview#16759</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 5313<br /><strong>Posted:</strong> 24 October 2006 at 6:33am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Must work. If you use MFC statically, ToolkitPro will link statically also, so you don't need ToolkitPro1010vc60D file at all. ( you can not destribute it)</DIV><DIV>&nbsp;</DIV><DIV>you can delete it and also try to add</DIV><DIV>XTPResourceManager()-&gt;SetResourceHandle(AfxGetInstanceHandle()); in App::InitInstasnce.</DIV>]]>
   </description>
   <pubDate>Tue, 24 Oct 2006 06:33:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5313&amp;PID=16759&amp;title=cxtpreportcontrol-within-an-cformview#16759</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPReportControl within an CFormView : CString strSystemPath = _T(&amp;#0...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5313&amp;PID=16755&amp;title=cxtpreportcontrol-within-an-cformview#16755</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1999">FSauer</a><br /><strong>Subject:</strong> 5313<br /><strong>Posted:</strong> 24 October 2006 at 4:21am<br /><br />&nbsp;CString strSystemPath = _T("");<BR>&nbsp;TCHAR&nbsp;szSysDirectory&#091;100&#093;;<BR>&nbsp;int i=GetSystemDirectory(szSysDirectory,100);<BR>&nbsp;strSystemPath.Format("%s\\ToolkitPro1010vc60D.dll",szSysDirectory);<BR>&nbsp;m_ResourceManager-&gt;SetResourceFile(strSystemPath);<BR>]]>
   </description>
   <pubDate>Tue, 24 Oct 2006 04:21:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5313&amp;PID=16755&amp;title=cxtpreportcontrol-within-an-cformview#16755</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPReportControl within an CFormView : Hello.  The include in the rc2...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5313&amp;PID=16723&amp;title=cxtpreportcontrol-within-an-cformview#16723</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1999">FSauer</a><br /><strong>Subject:</strong> 5313<br /><strong>Posted:</strong> 23 October 2006 at 5:43am<br /><br />Hello.<DIV></DIV><DIV></DIV>The include in the rc2 File (#include &lt;XTToolkitPro.rc&gt;)&nbsp;is a solution for MDI or Dialog Based Apllications, but for the SDI-Applications&nbsp;I had problems. So I use the code below, that's work correctly:<DIV>&nbsp;</DIV><DIV>//Create a instance of CXTPResourceManager in the CWinApp Based Class:</DIV><DIV>class CSLinkSDIApp : public CWinApp<BR>{<BR>public:<BR>&nbsp;CSLinkSDIApp();</DIV><DIV>&nbsp;CXTPResourceManager* m_ResourceManager;</DIV><DIV>...}</DIV><DIV>&nbsp;</DIV><DIV>//Initialize the Instance</DIV><DIV>CSLinkSDIApp::CSLinkSDIApp()<BR>{<BR>&nbsp;m_ResourceManager = new CXTPResourceManager();<BR>}<BR></DIV><DIV>//Set ResourceFile befor create instanc of CSingleDocTemplate</DIV><DIV>BOOL CSLinkSDIApp::InitInstance()<BR>{</DIV><DIV>...</DIV><DIV>&nbsp;m_ResourceManager-&gt;SetResourceFile("C:\\WINNT\\system32\\ToolkitPro1010vc60D.dll");</DIV><DIV>&nbsp;CSingleDocTemplate* pDocTemplate;<BR>...}</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV><DIV>//Don't forget to Close the Handle</DIV>int CSLinkSDIApp::ExitInstance() <BR>{<BR>&nbsp;m_ResourceManager-&gt;Close();<BR>&nbsp;return CWinApp::ExitInstance();<BR>}<BR></DIV><DIV>&nbsp;</DIV><DIV>Regards</DIV><DIV>Fabian</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 23 Oct 2006 05:43:55 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5313&amp;PID=16723&amp;title=cxtpreportcontrol-within-an-cformview#16723</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPReportControl within an CFormView : Hi Serge.  Thank You, that&amp;#039;s...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5313&amp;PID=16720&amp;title=cxtpreportcontrol-within-an-cformview#16720</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1999">FSauer</a><br /><strong>Subject:</strong> 5313<br /><strong>Posted:</strong> 23 October 2006 at 4:21am<br /><br />Hi Serge.<DIV>&nbsp;</DIV><DIV>Thank You, that's the solution.</DIV><DIV>&nbsp;</DIV><DIV><img src="https://forum.codejock.com/smileys/smiley1.gif" border="0"></DIV><DIV>&nbsp;</DIV><DIV>Regards </DIV><DIV>Fabian</DIV>]]>
   </description>
   <pubDate>Mon, 23 Oct 2006 04:21:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5313&amp;PID=16720&amp;title=cxtpreportcontrol-within-an-cformview#16720</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPReportControl within an CFormView : Hi,try to include XTToolkitPro.rc...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5313&amp;PID=16697&amp;title=cxtpreportcontrol-within-an-cformview#16697</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 5313<br /><strong>Posted:</strong> 21 October 2006 at 5:39pm<br /><br />Hi,<br><br>try to include XTToolkitPro.rc in your rc2 file.<br><br>--<br>WBR,<br>Serge<br>]]>
   </description>
   <pubDate>Sat, 21 Oct 2006 17:39:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5313&amp;PID=16697&amp;title=cxtpreportcontrol-within-an-cformview#16697</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPReportControl within an CFormView : Hi. I use a CXTPReportControl...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5313&amp;PID=16621&amp;title=cxtpreportcontrol-within-an-cformview#16621</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1999">FSauer</a><br /><strong>Subject:</strong> 5313<br /><strong>Posted:</strong> 18 October 2006 at 7:33am<br /><br /><DIV>Hi.</DIV><DIV>I use a CXTPReportControl within an CFormView.</DIV><DIV>&nbsp;</DIV><DIV>Its working fine, while my project is <FONT size=2>dynamically </FONT><FONT size=2>linking to the MFC Library. But if</FONT> my project is <FONT size=2>statically</FONT>&nbsp;linking to the MFC-Library its failed.</DIV><DIV>&nbsp;</DIV><DIV>The failure is at runtime: "Debug Assertion Failed! ... File: ...\XTPReportPaintManager.cpp" -&gt;line: 103 ...."</DIV><DIV>&nbsp;</DIV><DIV>For a Test&nbsp;I create an SDI-Project and declare an instance of CXTPReportControl in the Class based on CFormView (static link Library). I get the same failure. And than with a dynamic link Library, its working fine.</DIV><DIV>&nbsp;</DIV><DIV>Can anybody help me, Have i forgotten anything?</DIV>]]>
   </description>
   <pubDate>Wed, 18 Oct 2006 07:33:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5313&amp;PID=16621&amp;title=cxtpreportcontrol-within-an-cformview#16621</guid>
  </item> 
 </channel>
</rss>