<?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 : MFC regular dll,How to using XTPInitDLL Function?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Controls : MFC regular dll,How to using XTPInitDLL Function?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 07:50:09 +0000</pubDate>
  <lastBuildDate>Thu, 05 Jul 2012 09:21:36 +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=19922</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[MFC regular dll,How to using XTPInitDLL Function? : Hi,Sorry, My english is poor.My...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=19922&amp;PID=68544&amp;title=mfc-regular-dllhow-to-using-xtpinitdll-function#68544</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=7543">macai</a><br /><strong>Subject:</strong> 19922<br /><strong>Posted:</strong> 05 July 2012 at 9:21am<br /><br />Hi,<div>Sorry, My english is poor.</div><div>My project using XTreme Toolkit as a MFC regular DLL. the following code a class i defined:</div><div><br></div><div>//...</div><div><div>class CLeftView : public CXTShellTreeView</div><div>{</div><div>protected: // create from serialization only</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>CLeftView();</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>DECLARE_DYNCREATE(CLeftView)</div><div><br></div><div>// Attributes</div><div>public:</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>CTestSDIDoc* GetDocument();</div><div><br></div><div>// Operations</div><div>public:</div><div><br></div><div>// Overrides</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>public:</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>virtual BOOL PreCreateWindow(CREATESTRUCT&amp; cs);</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>protected:</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>virtual void OnInitialUpdate(); // called first time after construct</div><div><br></div><div>// Implementation</div><div>public:</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>virtual ~CLeftView();</div><div>#ifdef _DEBUG</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>virtual void AssertValid() const;</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>virtual void Dump(CDumpContext&amp; dc) const;</div><div>#endif</div><div><br></div><div>protected:</div><div><br></div><div>// Generated message map functions</div><div>protected:</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>DECLARE_MESSAGE_MAP()</div><div>};</div></div><div>//...</div><div><br></div><div>using:VS2008 SP1 ,system window7 X64&nbsp;</div><div>but it can not create successful, and i debug it crash at the following code:</div><div><br></div><div><div>void CLeftView::OnInitialUpdate()</div><div>{</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>CXTShellTreeView::OnInitialUpdate();//crash this.</div></div><div>}</div><div><br></div><div>debug it F11 into the function OnInitialUpdate()-&gt;PopulateTreeView(),F10 go on still "m_pTreeCtrl-&gt;Selet(hItemChild, TVGN_CARET);" then no longer c**tinue run and any prompt.</div><div><br></div><div>so i search Xtreme Help Document ,i found &nbsp;the 'XTPInitDLL' Function will initialize the resources if call "XTPInitDLL();" locate my CXXXAPP::InitInstance() method. i don't know whether this method can solve the problem.and i don't know how to use it.anyone can help me ?</div><div>by the way,anyone developed &nbsp;using MFC SDI dll with XTP ? the 'WinExplorer' form the Xtream Tooltik samples, how develop it as an MFC extension Dll or a MFC regular DLL?</div><div>thank you .</div><div><br></div><div>macai</div><div><br></div><div><br></div>]]>
   </description>
   <pubDate>Thu, 05 Jul 2012 09:21:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=19922&amp;PID=68544&amp;title=mfc-regular-dllhow-to-using-xtpinitdll-function#68544</guid>
  </item> 
 </channel>
</rss>