Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - 11.1.2
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

11.1.2

 Post Reply Post Reply
Author
Message
djenric View Drop Down
Newbie
Newbie


Joined: 21 July 2006
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote djenric Quote  Post ReplyReply Direct Link To This Post Topic: 11.1.2
    Posted: 23 May 2007 at 8:34am
Hi,
 
your Toolkit Pro 11.1.2 does not compile under Visual Studio 2005.
I had to replace all of the TRY - CATCH Blocks.
 
 
and
 
 
maybe you can fix this before more people had the same problem.
 
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 23 May 2007 at 9:10am
Hello,
 
Please show BuildLog.htm.. . What errors generate your  VisualStudio?
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
djenric View Drop Down
Newbie
Newbie


Joined: 21 July 2006
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote djenric Quote  Post ReplyReply Direct Link To This Post Posted: 23 May 2007 at 9:42am
The error was like "iskindof is not a member of c*exception".
Microsoft made changes in the Exception Macros V 3.0.
 
They wrote about in the article above.
Back to Top
djenric View Drop Down
Newbie
Newbie


Joined: 21 July 2006
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote djenric Quote  Post ReplyReply Direct Link To This Post Posted: 23 May 2007 at 9:50am
I also found this problen in this file:
 
Fehler 1 error C2039: 'IsKindOf': Ist kein Element von 'CException' c:\Programme\Codejock Software\MFC\Xtreme ToolkitPro v11.1.2\Samples\UserInterface\GUI_Office11\wordpdoc.cpp 102
but there i don't know how to fix it.
Back to Top
noldo66 View Drop Down
Newbie
Newbie


Joined: 29 June 2005
Location: United States
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote noldo66 Quote  Post ReplyReply Direct Link To This Post Posted: 23 May 2007 at 1:22pm
djenric,
 
I compiled the the 11.1.2 toolkit under Visual Studio 2005 and it compiled without any problems, including the "wordpad" solution you mentioned above.  You shouldn't have to edit anything.  Something could be wrong with your environment and if oleg is going to help you, you need to include the "BuildLog.htm" so that he can get a hint of what may be wrong on your end or what is triggering the error.
ab imo pectore
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 23 May 2007 at 1:41pm
Hi,
 
Show me _exactly_ text of error - please run it in IDE and copy/paste it.
 
We have Enterprise Visual Studio 2005 and it doesn't show any errors.  Please also attach screenshot of aboutbox of your Visual Studio.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
djenric View Drop Down
Newbie
Newbie


Joined: 21 July 2006
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote djenric Quote  Post ReplyReply Direct Link To This Post Posted: 24 May 2007 at 9:37am
Sorry, my fault.
Here is the build.log of wordpad:
 
Buildprotokoll
  

Erstellen wurde gestartet: Projekt: "WordPad", Konfiguration: "Release|Win32"

Befehlszeilen
  
Die temporäre Datei "c:\Programme\Codejock Software\MFC\Xtreme ToolkitPro v11.1.2\Samples\UserInterface\GUI_Office11\Release\vc80\RSP00000157884124.rsp" wird erstellt. Inhalt:
[
/O2 /Ob1 /I "../../../Source" /I "../../AboutDlg" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /GF /FD /EHsc /MD /Gy /Yu"stdafx.h" /Fp".\Release/vc80/wordpad.pch" /Fo".\Release/vc80/" /Fd".\Release/vc80/" /FR".\Release/vc80\\" /W3 /c ".\wordpdoc.cpp"
]Erstellen der Befehlszeile "cl.exe @"c:\Programme\Codejock Software\MFC\Xtreme ToolkitPro v11.1.2\Samples\UserInterface\GUI_Office11\Release\vc80\RSP00000157884124.rsp" /nologo /errorReport:prompt"Die temporäre Datei "c:\Programme\Codejock Software\MFC\Xtreme ToolkitPro v11.1.2\Samples\UserInterface\GUI_Office11\Release\vc80\RSP00000257884124.rsp" wird erstellt. Inhalt:
[
/o ".\Release/vc80/WordPad.bsc"

".\Release\vc80\chicdial.sbr"

".\Release\vc80\cntritem.sbr"

".\Release\vc80\colorlis.sbr"

".\Release\vc80\ControlSelector.sbr"

".\Release\vc80\datedial.sbr"

".\Release\vc80\ddxm.sbr"

".\Release\vc80\docopt.sbr"

".\Release\vc80\doctype.sbr"

".\Release\vc80\filenewd.sbr"

".\Release\vc80\formatpa.sbr"

".\Release\vc80\formatta.sbr"

".\Release\vc80\key.sbr"

".\Release\vc80\listdlg.sbr"

".\Release\vc80\mainfrm.sbr"

".\Release\vc80\multconv.sbr"

".\Release\vc80\options.sbr"

".\Release\vc80\optionsh.sbr"

".\Release\vc80\pageset.sbr"

".\Release\vc80\ruler.sbr"

".\Release\vc80\splash.sbr"

".\Release\vc80\srvritem.sbr"

".\Release\vc80\stdafx.sbr"

".\Release\vc80\strings.sbr"

".\Release\vc80\unitspag.sbr"

".\Release\vc80\wordpad.sbr"

".\Release\vc80\wordpdoc.sbr"

".\Release\vc80\wordpvw.sbr"

".\Release\vc80\buttondi.sbr"
]Erstellen der Befehlszeile "bscmake.exe @"c:\Programme\Codejock Software\MFC\Xtreme ToolkitPro v11.1.2\Samples\UserInterface\GUI_Office11\Release\vc80\RSP00000257884124.rsp" /nologo"
Ausgabefenster
  
Kompilieren...
wordpdoc.cpp
.\wordpdoc.cpp(102) : error C2039: 'IsKindOf': Ist kein Element von 'CException'
        C:\Programme\Microsoft Visual Studio 8\VC\atlmfc\include\afx.h(868): Siehe Deklaration von 'CException'
Browseinformationsdatei wird erstellt...
Microsoft Browse Information Maintenance-Programm Version 8.00.50727
Copyright (C) Microsoft Corporation. All rights reserved.
Ergebnisse
  
Das Buildprotokoll wurde unter "file://c:\Programme\Codejock Software\MFC\Xtreme ToolkitPro v11.1.2\Samples\UserInterface\GUI_Office11\Release\vc80\BuildLog.htm" gespeichert.
WordPad - 1 Fehler, 0 Warnung(en)
But its only in german.
 
thx
Back to Top
djenric View Drop Down
Newbie
Newbie


Joined: 21 July 2006
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote djenric Quote  Post ReplyReply Direct Link To This Post Posted: 24 May 2007 at 9:40am

And here infos of the about box:

Microsoft Visual Studio 2005
Version 8.0.50727.762  (SP.050727-7600)
Microsoft .NET Framework
Version 2.0.50727

Installierte Edition: Professional

Microsoft Visual Basic 2005   77891-009-1008784-41040
Microsoft Visual Basic 2005

Microsoft Visual C# 2005   77891-009-1008784-41040
Microsoft Visual C# 2005

Microsoft Visual C++ 2005   77891-009-1008784-41040
Microsoft Visual C++ 2005

Microsoft Visual J# 2005   77891-009-1008784-41040
Microsoft Visual J# 2005

Microsoft Visual Web Developer 2005   77891-009-1008784-41040
Microsoft Visual Web Developer 2005

Microsoft Web Application Projects 2005   77891-009-1008784-41040
Microsoft Web Application Projects 2005
Version 8.0.50727.762

Crystal Report    AAC60-H0CSA4B-U700045
Crystal Reports für Visual Studio 2005


Intel(R) C++ Compiler Integration   
Intel(R) C++ Compiler Integration for Microsoft Visual Studio 2005, Version 9.1.621.2005 , Copyright (C) 2002-2006 Intel Corporation.

Microsoft Visual Studio 2005 Professional Edition - DEU Service Pack 1 (KB926606)  
Dies ist ein Service Pack für Microsoft Visual Studio 2005 Professional Edition - DEU.
Wenn Sie zu einem späteren Zeitpunkt einen aktuelleren Service Pack installieren, wird dieser Service Pack automatisch deinstalliert.
Weitere Informationen erhalten Sie unter http://support.microsoft.com/kb/926606

Visual Assist X  
For more information about Visual Assist, see the Whole Tomato Software website at http://www.WholeTomato.com. For customer support, email Support@WholeTomato.com. Copyright (c) 1997-2004 Whole Tomato Software,  Inc.

Xtreme Toolkit Pro for Visual C++ .NET   11.1
Xtreme Toolkit Pro for Visual C++ .NET
Copyright ©1998-2007 Codejock Software. All rights reserved.
www.codejock.com

thx
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 24 May 2007 at 10:00am
May be your afx.h was modified. Can you please also attach it. or at least part where CException declared.
 
In my:
 
 
class AFX_NOVTABLE CException : public CObject
{
 // abstract class for dynamic type checking
 DECLARE_DYNAMIC(CException)
public:
// Constructors
 CException();   // sets m_bAutoDelete = TRUE
 explicit CException(BOOL bAutoDelete);   // sets m_bAutoDelete = bAutoDelete
// Operations
 void Delete();  // use to delete exception in 'catch' block
 virtual BOOL GetErrorMessage(__out_ecount_z(nMaxError) LPTSTR lpszError, __in UINT nMaxError,
  __out_opt PUINT pnHelpContext = NULL) const ;
 virtual BOOL GetErrorMessage(__out_ecount_z(nMaxError) LPTSTR lpszError, __in UINT nMaxError,
  __out_opt PUINT pnHelpContext = NULL);
 virtual int ReportError(UINT nType = MB_OK, UINT nMessageID = 0);
// Implementation (setting m_bAutoDelete to FALSE is advanced)
public:
 virtual ~CException() = 0;
 BOOL m_bAutoDelete;
#ifdef _DEBUG
 void PASCAL operator delete(void* pbData);
#if _MSC_VER >= 1200
 void PASCAL operator delete(void* pbData, LPCSTR lpszFileName, int nLine);
#endif
protected:
 BOOL m_bReadyForDelete;
#endif
};
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
djenric View Drop Down
Newbie
Newbie


Joined: 21 July 2006
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote djenric Quote  Post ReplyReply Direct Link To This Post Posted: 24 May 2007 at 10:05am

Here is my from afx.h

class AFX_NOVTABLE CException //: public CObject

{

// abstract class for dynamic type checking

DECLARE_DYNAMIC(CException)

public:

// Constructors

CException(); // sets m_bAutoDelete = TRUE

explicit CException(BOOL bAutoDelete); // sets m_bAutoDelete = bAutoDelete

// Operations

void Delete(); // use to delete exception in 'catch' block

virtual BOOL GetErrorMessage(__out_ecount_z(nMaxError) LPTSTR lpszError, __in UINT nMaxError,

__out_opt PUINT pnHelpContext = NULL) const ;

virtual BOOL GetErrorMessage(__out_ecount_z(nMaxError) LPTSTR lpszError, __in UINT nMaxError,

__out_opt PUINT pnHelpContext = NULL);

virtual int ReportError(UINT nType = MB_OK, UINT nMessageID = 0);

// Implementation (setting m_bAutoDelete to FALSE is advanced)

public:

virtual ~CException() = 0;

BOOL m_bAutoDelete;

#ifdef _DEBUG

void PASCAL operator delete(void* pbData);

#if _MSC_VER >= 1200

void PASCAL operator delete(void* pbData, LPCSTR lpszFileName, int nLine);

#endif

protected:

BOOL m_bReadyForDelete;

#endif

};

Back to Top
djenric View Drop Down
Newbie
Newbie


Joined: 21 July 2006
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote djenric Quote  Post ReplyReply Direct Link To This Post Posted: 24 May 2007 at 10:10am
Ok, i see that is not derived from cobject.
But it is no change from me. Maybe it comes
with the SP1 ???
 
Back to Top
Kite View Drop Down
Groupie
Groupie


Joined: 10 May 2004
Location: Belarus
Status: Offline
Points: 35
Post Options Post Options   Thanks (0) Thanks(0)   Quote Kite Quote  Post ReplyReply Direct Link To This Post Posted: 24 May 2007 at 3:16pm
I have SP1 VS2005, but CException is still derived from CObject

class AFX_NOVTABLE CException : public CObject

Back to Top
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Posted: 24 May 2007 at 5:32pm
I have a feeling this is a typical "Ctrl+Shift+H with afx.h mistakenly opened"-problem. I once screwed parts of STL by replacing code in certain header files that were open.
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 25 May 2007 at 1:31am
Edit your afx.h file back.
As you can see it has DECLARE_DYNAMIC macro that can be used only with CObject derived classes.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.