<?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 : _XTP_EXT_CLASS CXTPZipMemFile</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : _XTP_EXT_CLASS CXTPZipMemFile]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 11 Apr 2026 14:12:25 +0000</pubDate>
  <lastBuildDate>Thu, 26 Feb 2009 03:46:45 +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=13489</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[_XTP_EXT_CLASS CXTPZipMemFile : ok :)  Thanks for let us know......]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13489&amp;PID=45897&amp;title=xtp-ext-class-cxtpzipmemfile#45897</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 13489<br /><strong>Posted:</strong> 26 February 2009 at 3:46am<br /><br />ok :) <DIV>Thanks for let us know... for future questions. </DIV>]]>
   </description>
   <pubDate>Thu, 26 Feb 2009 03:46:45 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13489&amp;PID=45897&amp;title=xtp-ext-class-cxtpzipmemfile#45897</guid>
  </item> 
  <item>
   <title><![CDATA[_XTP_EXT_CLASS CXTPZipMemFile : I figured it out. It was pretty...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13489&amp;PID=45884&amp;title=xtp-ext-class-cxtpzipmemfile#45884</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3003">mrmathis</a><br /><strong>Subject:</strong> 13489<br /><strong>Posted:</strong> 25 February 2009 at 6:41pm<br /><br />I figured it out.&nbsp; It was pretty obscure.&nbsp; We actually have a header, ca_afx.h, that we use in place of afx.h.&nbsp; Its purpose is to suppress a lot of the Coding Analysis warnings that would otherwise be seen in afx.h.&nbsp; We're a large shop, and I didn't know that had been done until I started chasing this down.&nbsp; Here's the file in its entirety:<DIV>&nbsp;</DIV><DIV><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 9pt; COLOR: maro&#111;n; FONT-FAMILY: 'Andale Mono'; mso-bidi-font-family: 'Times New Roman'; mso-no-proof: yes">#include</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 'Andale Mono'; mso-bidi-font-family: 'Times New Roman'; mso-no-proof: yes"> <SPAN style="COLOR: navy">&lt;CodeAnalysis/warnings.h&gt;<?:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 9pt; COLOR: maro&#111;n; FONT-FAMILY: 'Andale Mono'; mso-bidi-font-family: 'Times New Roman'; mso-no-proof: yes">#pragma</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 'Andale Mono'; mso-bidi-font-family: 'Times New Roman'; mso-no-proof: yes"> <SPAN style="COLOR: maro&#111;n">warning</SPAN><SPAN style="COLOR: navy">(</SPAN><SPAN style="COLOR: maro&#111;n">push</SPAN><SPAN style="COLOR: navy">)<o:p></o:p></SPAN></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 9pt; COLOR: maro&#111;n; FONT-FAMILY: 'Andale Mono'; mso-bidi-font-family: 'Times New Roman'; mso-no-proof: yes">#pragma</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 'Andale Mono'; mso-bidi-font-family: 'Times New Roman'; mso-no-proof: yes"> <SPAN style="COLOR: maro&#111;n">warning</SPAN><SPAN style="COLOR: navy">(</SPAN><SPAN style="COLOR: maro&#111;n">disable</SPAN><SPAN style="COLOR: navy">:</SPAN> ALL_CODE_ANALYSIS_WARNINGS<SPAN style="COLOR: navy">)<o:p></o:p></SPAN></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 9pt; COLOR: maro&#111;n; FONT-FAMILY: 'Andale Mono'; mso-bidi-font-family: 'Times New Roman'; mso-no-proof: yes">#include</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 'Andale Mono'; mso-bidi-font-family: 'Times New Roman'; mso-no-proof: yes"> <SPAN style="COLOR: navy">&lt;afx.h&gt;<o:p></o:p></SPAN></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 9pt; COLOR: maro&#111;n; FONT-FAMILY: 'Andale Mono'; mso-bidi-font-family: 'Times New Roman'; mso-no-proof: yes">#pragma</SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 'Andale Mono'; mso-bidi-font-family: 'Times New Roman'; mso-no-proof: yes"> <SPAN style="COLOR: maro&#111;n">warning</SPAN><SPAN style="COLOR: navy">(</SPAN><SPAN style="COLOR: maro&#111;n">pop</SPAN><SPAN style="COLOR: navy">)</SPAN></SPAN><o:p></o:p></P></DIV><DIV>&nbsp;</DIV><DIV>The included file <FONT face="Andale Mono" color=#000080>CodeAnalysis/warnings.h</FONT>&nbsp;from Microsoft defines ALL_CODE_ANALYSIS_WARNINGS to be a long list of numbers (that doesn't include 4275).&nbsp; In fact, if you go into the Codejock RibbonSample's stdafx.h&nbsp;and replace the afx* headers with the code above, the same warning I originally cited is generated, along with one other (4251).&nbsp; </DIV><DIV>&nbsp;</DIV><DIV>The problem is that final "pop" call.&nbsp; It turns out that inside afx.h, a number of warnings, including 4275, are normally disabled and left that way, and our pop was re-enabling them.</DIV><DIV>&nbsp;</DIV><DIV>Now, as to why this showed up in 13 but not 12, I haven't figured that one out.&nbsp; I see that XTPResourceManager.h also suppresses these warnings, so my guess is that something changed up the include tree in 13 such that those don't come into play anymore.&nbsp; Maybe.&nbsp; Either way, I have modified our ca_afx.h to re-disable the warnings and I'm a happy Codejocker again.</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 25 Feb 2009 18:41:55 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13489&amp;PID=45884&amp;title=xtp-ext-class-cxtpzipmemfile#45884</guid>
  </item> 
  <item>
   <title><![CDATA[_XTP_EXT_CLASS CXTPZipMemFile : Hi,   _XTP_EXT_CLASS can&amp;#039;t...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13489&amp;PID=45836&amp;title=xtp-ext-class-cxtpzipmemfile#45836</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 13489<br /><strong>Posted:</strong> 25 February 2009 at 2:03am<br /><br />Hi, <DIV>&nbsp;</DIV><DIV>_XTP_EXT_CLASS&nbsp; can't be reason. As you see all our classes declared with _XTP_EXT_CLASS.&nbsp; Maybe you already have CXTPZipMemFile in your sources... or something.</DIV><DIV>&nbsp;</DIV><DIV>... or maybe you inserted XTPSystemHelpers.h to your project directly.</DIV>]]>
   </description>
   <pubDate>Wed, 25 Feb 2009 02:03:46 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13489&amp;PID=45836&amp;title=xtp-ext-class-cxtpzipmemfile#45836</guid>
  </item> 
  <item>
   <title><![CDATA[_XTP_EXT_CLASS CXTPZipMemFile : I just pulled 13.0.0. My first...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13489&amp;PID=45834&amp;title=xtp-ext-class-cxtpzipmemfile#45834</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3003">mrmathis</a><br /><strong>Subject:</strong> 13489<br /><strong>Posted:</strong> 24 February 2009 at 10:52pm<br /><br /><DIV>I just pulled 13.0.0.&nbsp; My first project barked at me with this error.&nbsp; </DIV><BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"><DIV>y:\codejock\source\common\XTPSystemHelpers.h(847) : error C2220: warning treated as error - no 'object' file generated<BR>y:\codejock\source\common\XTPSystemHelpers.h(847) : warning C4275: non dll-interface class 'CMemFile' used as base for dll-interface class 'CXTPZipMemFile'<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; D:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\atlmfc\include\afx.h(1177) : see declaration of 'CMemFile'<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; y:\codejock\source\common\XTPSystemHelpers.h(846) : see declaration of 'CXTPZipMemFile'<BR></DIV></BLOCKQUOTE><DIV>I see that _XTP_EXT_CLASS expands to _declspec(dllimport) in the CXTPZipMemFile declaration.&nbsp; What I don't see is what to do about it.&nbsp; Any hints as to what is going on?</DIV>]]>
   </description>
   <pubDate>Tue, 24 Feb 2009 22:52:41 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13489&amp;PID=45834&amp;title=xtp-ext-class-cxtpzipmemfile#45834</guid>
  </item> 
 </channel>
</rss>