<?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 : Macro redefinition</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : General Discussion : Macro redefinition]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 30 Apr 2026 15:58:14 +0000</pubDate>
  <lastBuildDate>Fri, 28 Aug 2009 08:34:25 +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=15053</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[Macro redefinition : I&amp;#039;d say the same goes for...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15053&amp;PID=52508&amp;title=macro-redefinition#52508</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 15053<br /><strong>Posted:</strong> 28 August 2009 at 8:34am<br /><br />I'd say the same goes for that other define you have :P (DirectShow I suppose).]]>
   </description>
   <pubDate>Fri, 28 Aug 2009 08:34:25 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15053&amp;PID=52508&amp;title=macro-redefinition#52508</guid>
  </item> 
  <item>
   <title><![CDATA[Macro redefinition : Hi,  Thanks, we will add it....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15053&amp;PID=52497&amp;title=macro-redefinition#52497</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 15053<br /><strong>Posted:</strong> 28 August 2009 at 4:05am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Thanks, we will add it.</DIV>]]>
   </description>
   <pubDate>Fri, 28 Aug 2009 04:05:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15053&amp;PID=52497&amp;title=macro-redefinition#52497</guid>
  </item> 
  <item>
   <title><![CDATA[Macro redefinition : yes I did this but its a hack...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15053&amp;PID=52446&amp;title=macro-redefinition#52446</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5354">johnmichael</a><br /><strong>Subject:</strong> 15053<br /><strong>Posted:</strong> 27 August 2009 at 8:13am<br /><br />yes I did this but its a hack not a solution. I think the real problem needs to be addressed with the toolkit. <br><br>&lt;code&gt;<br><br>#if !defined SAFE_DELETE <br><br>#endif<br><br>&lt;/code&gt;<br><br>wrappers...<br>]]>
   </description>
   <pubDate>Thu, 27 Aug 2009 08:13:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15053&amp;PID=52446&amp;title=macro-redefinition#52446</guid>
  </item> 
  <item>
   <title><![CDATA[Macro redefinition : Him  just add #undef SAFE_DELETE...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15053&amp;PID=52440&amp;title=macro-redefinition#52440</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 15053<br /><strong>Posted:</strong> 27 August 2009 at 7:26am<br /><br />Him<DIV>&nbsp;</DIV><DIV>just add</DIV><DIV></DIV>#undef SAFE_DELETE <DIV></DIV>before you include toolkit.<DIV></DIV>]]>
   </description>
   <pubDate>Thu, 27 Aug 2009 07:26:15 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15053&amp;PID=52440&amp;title=macro-redefinition#52440</guid>
  </item> 
  <item>
   <title><![CDATA[Macro redefinition :  SAFE_DELETE and SAFE_RELEASE...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15053&amp;PID=52434&amp;title=macro-redefinition#52434</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5354">johnmichael</a><br /><strong>Subject:</strong> 15053<br /><strong>Posted:</strong> 27 August 2009 at 6:15am<br /><br />SAFE_DELETE and SAFE_RELEASE macros are defined by XTPMacros.h<br><br>unfortunatly these are very commonly used macro names and just about every api has them. fortunatly almost every other api wraps them in:<br><br>#if !defined SAFE_DELETE<br>#define SAFE_DELETE(x)<br>&nbsp;&nbsp; ...<br>#endif<br><br>meaning you dont get these redefinition error. Although you may have specific implementations for the macro's bodies so maybe you should rename them:<br><br>XT_SAFE_DELETE<br>XT_SAFE_RELEASE<br><br>to avoid future conflicts while still maintaining the ability to customise the macro body.<br><br>regards<br><br>]]>
   </description>
   <pubDate>Thu, 27 Aug 2009 06:15:24 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15053&amp;PID=52434&amp;title=macro-redefinition#52434</guid>
  </item> 
 </channel>
</rss>