<?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 : Embed cjstyles in exe?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Skin Framework : Embed cjstyles in exe?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 05 Apr 2026 13:28:29 +0000</pubDate>
  <lastBuildDate>Tue, 28 Jul 2009 07:30:58 +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=7555</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[Embed cjstyles in exe? : Is it also possible to do this...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7555&amp;PID=51392&amp;title=embed-cjstyles-in-exe#51392</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5421">aelsmore</a><br /><strong>Subject:</strong> 7555<br /><strong>Posted:</strong> 28 July 2009 at 7:30am<br /><br />Is it also possible to do this in VB6?]]>
   </description>
   <pubDate>Tue, 28 Jul 2009 07:30:58 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7555&amp;PID=51392&amp;title=embed-cjstyles-in-exe#51392</guid>
  </item> 
  <item>
   <title><![CDATA[Embed cjstyles in exe? : Ok, I will not worry about it...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7555&amp;PID=24357&amp;title=embed-cjstyles-in-exe#24357</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=203">Ark42</a><br /><strong>Subject:</strong> 7555<br /><strong>Posted:</strong> 10 July 2007 at 11:19am<br /><br />Ok, I will not worry about it for now then. I only want Office themes so until Office 2008/2009/2010 is out and I add that theme, I can just leave the 5000 string info in there and it works for now too.<br><br><br>]]>
   </description>
   <pubDate>Tue, 10 Jul 2007 11:19:12 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7555&amp;PID=24357&amp;title=embed-cjstyles-in-exe#24357</guid>
  </item> 
  <item>
   <title><![CDATA[Embed cjstyles in exe? : Hi, Its only one class for Office2007....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7555&amp;PID=24351&amp;title=embed-cjstyles-in-exe#24351</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 7555<br /><strong>Posted:</strong> 10 July 2007 at 9:07am<br /><br /><P>Hi,</P><DIV>Its only one class for Office2007. was temporary solution that still not changed :(</DIV>]]>
   </description>
   <pubDate>Tue, 10 Jul 2007 09:07:10 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7555&amp;PID=24351&amp;title=embed-cjstyles-in-exe#24351</guid>
  </item> 
  <item>
   <title><![CDATA[Embed cjstyles in exe? : Ah, you&amp;#039;ve lost me now. Why...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7555&amp;PID=24344&amp;title=embed-cjstyles-in-exe#24344</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=203">Ark42</a><br /><strong>Subject:</strong> 7555<br /><strong>Posted:</strong> 10 July 2007 at 1:40am<br /><br />Ah, you've lost me now.&nbsp; Why are there classes in code for each *.cjstyles file? I thought the point of the skins were that each skin was a self-contained file you could load without any code changes.<br><br>]]>
   </description>
   <pubDate>Tue, 10 Jul 2007 01:40:13 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7555&amp;PID=24344&amp;title=embed-cjstyles-in-exe#24344</guid>
  </item> 
  <item>
   <title><![CDATA[Embed cjstyles in exe? : Right :( You also need override...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7555&amp;PID=24341&amp;title=embed-cjstyles-in-exe#24341</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 7555<br /><strong>Posted:</strong> 10 July 2007 at 12:09am<br /><br />Right :(<DIV>You also need override CXTPSkinManagerSchema* CreateSchema() - see default implementation.<BR></DIV>]]>
   </description>
   <pubDate>Tue, 10 Jul 2007 00:09:50 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7555&amp;PID=24341&amp;title=embed-cjstyles-in-exe#24341</guid>
  </item> 
  <item>
   <title><![CDATA[Embed cjstyles in exe? : THEMES_INI can be removed but...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7555&amp;PID=24329&amp;title=embed-cjstyles-in-exe#24329</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=203">Ark42</a><br /><strong>Subject:</strong> 7555<br /><strong>Posted:</strong> 09 July 2007 at 1:28pm<br /><br />THEMES_INI can be removed but if I remove string 5000, or change it from anything but exactly "Office 2007 Style" then the scrollbars become black:<br><br><img src="uploads/20070709_132821_blackbars.png" height="76" width="271" border="0"><br>]]>
   </description>
   <pubDate>Mon, 09 Jul 2007 13:28:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7555&amp;PID=24329&amp;title=embed-cjstyles-in-exe#24329</guid>
  </item> 
  <item>
   <title><![CDATA[Embed cjstyles in exe? : Hi,  THEMES_INI and string 5000...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7555&amp;PID=24328&amp;title=embed-cjstyles-in-exe#24328</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 7555<br /><strong>Posted:</strong> 09 July 2007 at 1:14pm<br /><br /><DIV>Hi,</DIV><DIV>&nbsp;</DIV><DIV>THEMES_INI and string 5000 can be commented - will not used if you add style to exe.</DIV>]]>
   </description>
   <pubDate>Mon, 09 Jul 2007 13:14:47 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7555&amp;PID=24328&amp;title=embed-cjstyles-in-exe#24328</guid>
  </item> 
  <item>
   <title><![CDATA[Embed cjstyles in exe? : I copied the lines from the resource...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7555&amp;PID=24327&amp;title=embed-cjstyles-in-exe#24327</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=203">Ark42</a><br /><strong>Subject:</strong> 7555<br /><strong>Posted:</strong> 09 July 2007 at 12:12pm<br /><br />I copied the lines from the resource file except for the version and it works.<br><br>How would we include multiple skins in one exe as resources then?<br>THEMES_INI and stringtable 5000 would conflict.<br><br><br>]]>
   </description>
   <pubDate>Mon, 09 Jul 2007 12:12:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7555&amp;PID=24327&amp;title=embed-cjstyles-in-exe#24327</guid>
  </item> 
  <item>
   <title><![CDATA[Embed cjstyles in exe? : Looks like it will work except...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7555&amp;PID=24326&amp;title=embed-cjstyles-in-exe#24326</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=203">Ark42</a><br /><strong>Subject:</strong> 7555<br /><strong>Posted:</strong> 09 July 2007 at 11:51am<br /><br />Looks like it will work except for linker error:<br><br>fatal error CVT1100: duplicate resource.&nbsp; type:VERSION, name:1, language:0x0409<br>fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt<br><br>]]>
   </description>
   <pubDate>Mon, 09 Jul 2007 11:51:10 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7555&amp;PID=24326&amp;title=embed-cjstyles-in-exe#24326</guid>
  </item> 
  <item>
   <title><![CDATA[Embed cjstyles in exe? : Hi,  1. in rc2 file add  #include...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7555&amp;PID=24307&amp;title=embed-cjstyles-in-exe#24307</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 7555<br /><strong>Posted:</strong> 09 July 2007 at 1:22am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>1. in rc2 file add </DIV><DIV>#include "SkinFramework\Styles\Vista\Vista.rc"<BR>and add patch to SkinFramework\Styles\Vista to you project resource settings</DIV><DIV>&nbsp;</DIV><DIV>2. Add this code</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>class CInstanceResourceFile : public CXTPSkinManagerResourceFile<BR>{<BR>public:<BR>&nbsp;BOOL Open(LPCTSTR lpszResourcePath, LPCTSTR lpszIniFileName)<BR>&nbsp;{<BR>&nbsp;&nbsp;m_strResourcePath = lpszResourcePath;<BR>&nbsp;&nbsp;m_strIniFileName = lpszIniFileName;<BR>&nbsp;&nbsp;<BR>&nbsp;&nbsp;<BR>&nbsp;&nbsp;m_hModule = AfxGetInstanceHandle();<BR>&nbsp;&nbsp;<BR>&nbsp;&nbsp;CString strFilePath(m_strIniFileName);<BR>&nbsp;&nbsp;<BR>&nbsp;&nbsp;REPLACE_S(strFilePath, _T('.'), _T('_'));<BR>&nbsp;&nbsp;REPLACE_S(strFilePath, _T('\\'), _T('_'));<BR>&nbsp;&nbsp;<BR>&nbsp;&nbsp;HRSRC hRsrc = FindResource(m_hModule, strFilePath, _T("TEXTFILE"));<BR>&nbsp;&nbsp;if (!hRsrc)<BR>&nbsp;&nbsp;&nbsp;return FALSE;<BR>&nbsp;&nbsp;<BR>&nbsp;&nbsp;HGLOBAL hResData = LoadResource(m_hModule, hRsrc);<BR>&nbsp;&nbsp;if (!hResData)<BR>&nbsp;&nbsp;&nbsp;return FALSE;<BR>&nbsp;&nbsp;<BR>&nbsp;&nbsp;m_lpTextFile = (LPWSTR)LockResource(hResData);<BR>&nbsp;&nbsp;<BR>&nbsp;&nbsp;m_lpTextFileEnd = m_lpTextFile + SizeofResource(m_hModule, hRsrc)/2;<BR>&nbsp;&nbsp;<BR>&nbsp;&nbsp;if (m_lpTextFile &amp;&amp; m_lpTextFile&#091;0&#093; == 0xFEFF)<BR>&nbsp;&nbsp;&nbsp;m_lpTextFile++;<BR>&nbsp;&nbsp;<BR>&nbsp;&nbsp;return TRUE;<BR>&nbsp;}<BR>&nbsp;void Close()<BR>&nbsp;{<BR>&nbsp;}</DIV><DIV>};<BR></DIV><DIV>&nbsp;XTPSkinManager()-&gt;SetResourceFile(new CInstanceResourceFile());<BR>&nbsp;XTPSkinManager()-&gt;LoadSkin(_T(" "), "normalblue.ini");<BR></DIV>]]>
   </description>
   <pubDate>Mon, 09 Jul 2007 01:22:33 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7555&amp;PID=24307&amp;title=embed-cjstyles-in-exe#24307</guid>
  </item> 
 </channel>
</rss>