<?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 : Undeclared identifiers</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Undeclared identifiers]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 19 Apr 2026 01:19:44 +0000</pubDate>
  <lastBuildDate>Mon, 02 Mar 2009 00:30:16 +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=13520</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[Undeclared identifiers : Hi, include our Source\Common\Tmschema.h...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13520&amp;PID=46062&amp;title=undeclared-identifiers#46062</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 13520<br /><strong>Posted:</strong> 02 March 2009 at 12:30am<br /><br />Hi,<DIV>include our Source\Common\Tmschema.h&nbsp; before your includes.</DIV>]]>
   </description>
   <pubDate>Mon, 02 Mar 2009 00:30:16 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13520&amp;PID=46062&amp;title=undeclared-identifiers#46062</guid>
  </item> 
  <item>
   <title><![CDATA[Undeclared identifiers : For our company&amp;#039;s purposes,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13520&amp;PID=45987&amp;title=undeclared-identifiers#45987</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4983">trunkmonkey</a><br /><strong>Subject:</strong> 13520<br /><strong>Posted:</strong> 27 February 2009 at 3:25pm<br /><br />For our company's purposes, when we build the toolkit (version 13) we make a separate copy of the project file (ToolkitProShared_vc90.vcproj) and modify it slightly (as far as I know just added a custom define). I also had to add the following include to stdafx.h:<br>#ifdef _HEIXT<br>#pragma message( "Including Hostboot.h" )<br>#include "Hostboot.h"<br>#endif<br><br>_HEIXT is the custom define referred to previously.<br><br>Here are the contents of Hostboot.h:<br><br>----------------------------------------------------------------------------<br>#pragma once<br><br>// Modify the following defines if you have to target an OS before the ones <br>// specified in the following code. See MSDN for the latest information<br>// about corresponding values for different operating systems.<br>#ifndef WINVER<br>#define WINVER 0x0501&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; // XP, Server 2003, Vista and later<br>#endif<br><br>#ifndef _WIN32_WINNT<br>#define _WIN32_WINNT 0x0501&nbsp;&nbsp;&nbsp; // XP, Server 2003, Vista and later<br>#endif<br><br>#ifndef _WIN32_WINDOWS<br>#define _WIN32_WINDOWS 0x0501&nbsp;&nbsp;&nbsp; // XP, Server 2003, Vista and later<br>#endif<br><br>#ifndef _WIN32_IE<br>#define _WIN32_IE 0x0600&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; // Internet Explorer 6.0 or later.<br>#endif<br><br>#ifndef _hSTR2<br>#define _hSTR(x)&nbsp;&nbsp;&nbsp; #x<br>#define _hSTR2(x)&nbsp;&nbsp;&nbsp; _hSTR(x)<br>#endif<br>#pragma message("WINVER=" _hSTR2(WINVER) "&nbsp; _WIN32_WINNT=" _hSTR2(_WIN32_WINNT) "&nbsp; _WIN32_WINDOWS=" _hSTR2(_WIN32_WINDOWS) "&nbsp; _WIN32_IE=" _hSTR2(_WIN32_IE))<br><br>#pragma warning( disable : 4996 )<br>----------------------------------------------------------------------------<br><br>This results in build errors like these:<br><br>Error&nbsp;&nbsp; &nbsp;1&nbsp;&nbsp; &nbsp;error C2065: 'MP_POPUPBACKGROUND' : undeclared identifier&nbsp;&nbsp; &nbsp;c:\heikits\xtp1300\source\skinframework\xtpskinobjectmenu.cpp&nbsp;&nbsp; &nbsp;824<br>Error&nbsp;&nbsp; &nbsp;3&nbsp;&nbsp; &nbsp;error C2065: 'MP_POPUPBACKGROUND' : undeclared identifier&nbsp;&nbsp; &nbsp;c:\heikits\xtp1300\source\skinframework\xtpskinobjectmenu.cpp&nbsp;&nbsp; &nbsp;1012<br>Error&nbsp;&nbsp; &nbsp;17&nbsp;&nbsp; &nbsp;error C2065: 'MP_POPUPBACKGROUND' : undeclared identifier&nbsp;&nbsp; &nbsp;c:\heikits\xtp1300\source\commandbars\xtpnativexptheme.cpp&nbsp;&nbsp; &nbsp;82<br>Error&nbsp;&nbsp; &nbsp;23&nbsp;&nbsp; &nbsp;error C2065: 'MP_POPUPBACKGROUND' : undeclared identifier&nbsp;&nbsp; &nbsp;c:\heikits\xtp1300\source\commandbars\xtpnativexptheme.cpp&nbsp;&nbsp; &nbsp;244<br>Error&nbsp;&nbsp; &nbsp;2&nbsp;&nbsp; &nbsp;error C2065: 'MP_POPUPBORDERS' : undeclared identifier&nbsp;&nbsp; &nbsp;c:\heikits\xtp1300\source\skinframework\xtpskinobjectmenu.cpp&nbsp;&nbsp; &nbsp;1010<br>Error&nbsp;&nbsp; &nbsp;22&nbsp;&nbsp; &nbsp;error C2065: 'MP_POPUPBORDERS' : undeclared identifier&nbsp;&nbsp; &nbsp;c:\heikits\xtp1300\source\commandbars\xtpnativexptheme.cpp&nbsp;&nbsp; &nbsp;241<br>Error&nbsp;&nbsp; &nbsp;9&nbsp;&nbsp; &nbsp;error C2065: 'MP_POPUPCHECK' : undeclared identifier&nbsp;&nbsp; &nbsp;c:\heikits\xtp1300\source\skinframework\xtpskinobjectmenu.cpp&nbsp;&nbsp; &nbsp;1197<br>Error&nbsp;&nbsp; &nbsp;20&nbsp;&nbsp; &nbsp;error C2065: 'MP_POPUPCHECK' : undeclared identifier&nbsp;&nbsp; &nbsp;c:\heikits\xtp1300\source\commandbars\xtpnativexptheme.cpp&nbsp;&nbsp; &nbsp;200<br>Error&nbsp;&nbsp; &nbsp;21&nbsp;&nbsp; &nbsp;error C2065: 'MP_POPUPCHECK' : undeclared identifier&nbsp;&nbsp; &nbsp;c:\heikits\xtp1300\source\commandbars\xtpnativexptheme.cpp&nbsp;&nbsp; &nbsp;212<br><br>There are quite a few more, but they're all undeclared identifier errors for MP_* defines in those two files. I realize that including our file is overriding the WINVER defines in XTPDLLExports.h and that, somehow, that's creating the problem. What's perplexing though is that I can't find these MP_* defines ANYWHERE I've looked. I searched in the XTP Toolkit directories, the mfc source directories, and the Microsoft SDK directory. Nothing. Even Google seems stumped on this. <br><br>If anyone knows where these defines exist and/or why they are gone when the WINVER changes from 0x0400 to 0x0501, please let me know. <br><br>Thanks.<br><br>]]>
   </description>
   <pubDate>Fri, 27 Feb 2009 15:25:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13520&amp;PID=45987&amp;title=undeclared-identifiers#45987</guid>
  </item> 
 </channel>
</rss>