المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : OXCaptionPainter error message that, 'CPushRoutingFrame' : 'class' type redefinition



C++ Programming
04-27-2009, 02:21 PM
Hi,
I have developed an application using MFC dialog based application in visual studio 2005.
I am trying to paint the title bar of my application.I have included the OXCaptionPainter
Class in my project and other related include files(OXDllExt.h, OXCaptionPainter.h, OXRegistryValFile.h, OXMainRes.h, OXHookWnd.h, utbstrop.h, UTB64Bit.h).
but Build fails showing the following error.

**********************************************************************************
1>Linking...
2>c:\program files\microsoft platform sdk for windows server 2003 r2\src\mfc\afximpl.h(145) : error C2011: 'CPushRoutingFrame' : 'class' type redefinition

2> c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxpriv.h(747) : see declaration of 'CPushRoutingFrame'

*************************************************************************************


Kindly help me to use this class of Ultimate ToolBox 93.

Thanking in advance
NamitaS