<?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 : Usint XTT in Extenti&#111;n DLL as static lib</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Usint XTT in Extenti&#111;n DLL as static lib]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 07 Apr 2026 11:49:17 +0000</pubDate>
  <lastBuildDate>Sun, 02 Nov 2003 15:12: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=104</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[Usint XTT in Extenti&#111;n DLL as static lib : Hello, It might be easier to...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=104&amp;PID=455&amp;title=usint-xtt-in-extention-dll-as-static-lib#455</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1">kstowell</a><br /><strong>Subject:</strong> 104<br /><strong>Posted:</strong> 02 November 2003 at 3:12pm<br /><br /><P>Hello,</P><P>It might be easier to add&nbsp;those classes you want into your existing extension dll project&nbsp;rather than trying to link it in.</P><P>Cheers,<BR>Codejock Support.</P>]]>
   </description>
   <pubDate>Sun, 02 Nov 2003 15:12:55 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=104&amp;PID=455&amp;title=usint-xtt-in-extention-dll-as-static-lib#455</guid>
  </item> 
  <item>
   <title><![CDATA[Usint XTT in Extenti&#111;n DLL as static lib :  I want to use XTREME toolkit...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=104&amp;PID=221&amp;title=usint-xtt-in-extention-dll-as-static-lib#221</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=27">srana</a><br /><strong>Subject:</strong> 104<br /><strong>Posted:</strong> 22 July 2003 at 10:23am<br /><br /><FONT color=#0000ff><DIV><FONT face=Arial size=2>I want to use XTREME toolkit in a project. with all its reusable classes in an extention DLL. I am using only a handful of XTremne DLL classes. Specially CXTListCTrl and CXTCoolMenu. I tried to static link it in that ext. dll but can't suceed. Though i get to link it to lib with the following code but it does not show the XP style MENU. </FONT></DIV><DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV><DIV><FONT face=Arial size=2>I can't distribute the entire 1 MB XTreme DLL because of space constraint of Shareware. How can I use XTreme Toolkit as a static lib in an extention dll which will export only handfull of xtreme toolkit symbols.&nbsp;</FONT></DIV><DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV><DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV><P>//try these</P><P>#define </FONT><FONT color=#a000a0>XT_INIT_BY_REGULAR_DLL</P></FONT><FONT color=#0000ff><P>#define </FONT><FONT color=#a000a0>_XT_STATICLINK</P></FONT><FONT color=#0000ff><P>#include </FONT>&lt;xttoolkit.h&gt;</P><P>&nbsp;</P><FONT color=#0000ff><P>class</FONT> <FONT color=#a000a0>SCODEDLL_API</FONT> <FONT color=#0000ff>CXTMenuXP</FONT> : <FONT color=#0000ff>public</FONT> <FONT color=#0000ff>CXTMenu</P></FONT><P>{</P><FONT color=#0000ff><P>public</FONT>:</P><FONT color=#008000><P>// DECLARE_DYNAMIC(CXTMenuXP);</P></FONT><P><FONT color=#0000ff>CXTMenuXP</FONT>();</P><P><FONT color=#0000ff>virtual</FONT> ~<FONT color=#0000ff>CXTMenuXP</FONT>();</P><P>};</P><FONT color=#0000ff><P>class</FONT> <FONT color=#a000a0>SCODEDLL_API</FONT> <FONT color=#0000ff>CXTCoolMenuXP</FONT> : <FONT color=#0000ff>public</FONT> <FONT color=#0000ff>CXTCoolMenu</P></FONT><P>{</P><FONT color=#0000ff><P>public</FONT>:</P><P><FONT color=#a000a0>DECLARE_DYNAMIC</FONT>(<FONT color=#0000ff>CXTCoolMenuXP</FONT>);</P><P><FONT color=#0000ff>CXTCoolMenuXP</FONT>();</P><P><FONT color=#0000ff>virtual</FONT> ~<FONT color=#0000ff>CXTCoolMenuXP</FONT>();</P><P>};</P><P>&nbsp;</P><FONT color=#0000ff><P>#include </FONT>"stdafx.h"</P><P>//headfile of simulated classes</P><FONT color=#0000ff><P>#include </FONT>"xttoolkitlib.h"</P><FONT color=#0000ff><P>#ifdef </FONT>_DEBUG</P><FONT color=#0000ff><P>#pragma </FONT>comment(lib, "XT3100LibDynStaticd.lib")</P><FONT color=#0000ff><P>#else</P><P>#pragma </FONT>comment(lib, "XT3100LibDynStatic.lib")</P><FONT color=#0000ff><P>#endif</P></FONT><FONT color=#0000ff><P>CXTMenuXP</FONT>::<FONT color=#0000ff>CXTMenuXP</FONT>() : <FONT color=#0000ff>CXTMenu</FONT>()</P><P>{</P><P>;</P><P>}</P><FONT color=#0000ff><P>CXTMenuXP</FONT>::~<FONT color=#0000ff>CXTMenuXP</FONT>()</P><P>{</P><P>;</P><P>}</P><FONT color=#a000a0><P>IMPLEMENT_DYNAMIC</FONT>(<FONT color=#0000ff>CXTCoolMenuXP</FONT>, <FONT color=#0000ff>CXTCoolMenu</FONT>);</P><FONT color=#0000ff><P>CXTCoolMenuXP</FONT>::<FONT color=#0000ff>CXTCoolMenuXP</FONT>() : <FONT color=#0000ff>CXTCoolMenu</FONT>()</P><P>{</P><P>;</P><P>}</P><FONT color=#0000ff><P>CXTCoolMenuXP</FONT>::~<FONT color=#0000ff>CXTCoolMenuXP</FONT>()</P><P>{</P><P>;</P><P>}</P>]]>
   </description>
   <pubDate>Tue, 22 Jul 2003 10:23:35 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=104&amp;PID=221&amp;title=usint-xtt-in-extention-dll-as-static-lib#221</guid>
  </item> 
 </channel>
</rss>