<?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 : SetImageHandle Error</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : SetImageHandle Error]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 11 Jun 2026 17:43:02 +0000</pubDate>
  <lastBuildDate>Fri, 12 Sep 2008 23:32:26 +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=12124</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[SetImageHandle Error : I reinstalled VS2008 and recompiled...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12124&amp;PID=40978&amp;title=setimagehandle-error#40978</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3140">hari</a><br /><strong>Subject:</strong> 12124<br /><strong>Posted:</strong> 12 September 2008 at 11:32pm<br /><br />I reinstalled VS2008 and recompiled CJ&nbsp; and now I can set Office2007 theme. Must have been a corrupted VS2008 SP1 install which did not complete.<br><br><br>Ribbon is still not possible using _XTP_STATICLINK and MFC static. Please help. <br><br>The issue with CJ DialogSample still exists. When building with _XTP_STATICLINK and static link to MFC, no commandbars are created.<br>]]>
   </description>
   <pubDate>Fri, 12 Sep 2008 23:32:26 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12124&amp;PID=40978&amp;title=setimagehandle-error#40978</guid>
  </item> 
  <item>
   <title><![CDATA[SetImageHandle Error :  Hi I can set ribbon theme in...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12124&amp;PID=40951&amp;title=setimagehandle-error#40951</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3140">hari</a><br /><strong>Subject:</strong> 12124<br /><strong>Posted:</strong> 11 September 2008 at 11:57pm<br /><br />Hi <br><br>I can set ribbon theme in _DEBUG mode ; but not in release mode. <br>It is crashing on SetImageHandle. <br><br>Also found that I cannot set office2007 theme in mfc static link, but it works ok in mfc shared dll mode. <br><br>CJ Sample DialogSample in commandbars also has the same issue so I think this is related to MFC library. When building with STATIC_LINK and static link to MFC, no commandbars are created.<br><br>I&nbsp; dont have VS2008 SP1 installed. <br>]]>
   </description>
   <pubDate>Thu, 11 Sep 2008 23:57:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12124&amp;PID=40951&amp;title=setimagehandle-error#40951</guid>
  </item> 
  <item>
   <title><![CDATA[SetImageHandle Error : Hi,  Try to specify &amp;#034;OFFICE2007BLUE.INI&amp;#034;...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12124&amp;PID=40893&amp;title=setimagehandle-error#40893</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 12124<br /><strong>Posted:</strong> 10 September 2008 at 9:25am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Try to specify "OFFICE2007BLUE.INI" as second parameter.</DIV>]]>
   </description>
   <pubDate>Wed, 10 Sep 2008 09:25:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12124&amp;PID=40893&amp;title=setimagehandle-error#40893</guid>
  </item> 
  <item>
   <title><![CDATA[SetImageHandle Error : hi In vista (VS2008), the below...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12124&amp;PID=40884&amp;title=setimagehandle-error#40884</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3140">hari</a><br /><strong>Subject:</strong> 12124<br /><strong>Posted:</strong> 10 September 2008 at 4:48am<br /><br />hi <br><br>In vista (VS2008), the below code is crashing the exe. <br><br><br>VERIFY(InitCommandBars());<br>CXTPCommandBars* pCommandBars = GetCommandBars();<br>HMODULE hModule =LoadLibrary(theApp.m_AppPath +_T("\\Office2007Blue.dll"));<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; CXTPPaintManager::SetTheme(&nbsp; hModule ? xtpThemeRibbon : xtpThemeOffice2003 );<br><br>&nbsp;&nbsp;&nbsp; if(hModule)<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ((CXTPOffice2007Theme*)pCommandBars-&gt;GetPaintManager())-&gt;SetImageHandle( Module, 0/*_T("Office2007Theme.ini")*/ );<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; //((CXTPOffice2007Theme*)pCommandBars-&gt;GetPaintManager())-&gt;SetImageHandle( *hModule*/ m_hModuleOfficeBlueRes, 0/*_T("Office2007Theme.ini")*/ );<br>&nbsp;&nbsp;&nbsp; }<br>&nbsp; <br><br>It is crashing on the SetImageHandle func. <br><br><br>Using Toolkit pro static link. <br><br>Please help.<br>]]>
   </description>
   <pubDate>Wed, 10 Sep 2008 04:48:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12124&amp;PID=40884&amp;title=setimagehandle-error#40884</guid>
  </item> 
 </channel>
</rss>