Print Page | Close Window

XTP and Intel C Compiler

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=1192
Printed Date: 03 July 2024 at 5:46am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: XTP and Intel C Compiler
Posted By: fwhite
Subject: XTP and Intel C Compiler
Date Posted: 20 September 2004 at 12:42pm
We've had great results using the Intel C compiler http://www.intel.com/software/products/compilers/cwin/ - http://www.intel.com/software/products/compilers/cwin/ on other projects. so naturally we'd like to use it to compile the XTP library also.  I realize that you don't officially support it, but I thought you'd be interested in the errors it spits out, one of which looks like a typo. I haven't been able to figure out the problem with XTPManageState.cpp. This is for 9.10:

XTPCommandBars.cpp
C:\Gensym\codejock\9.10\Src\CommandBars\XTPCommandBars.cpp (1171): error #308: member "CMDIChildWnd::m_hMenuShared" is inaccessible
   HMENU hMenuShared = ((CFriendlyFrameWnd*)pChild)->m_hMenuShared;

C:\Gensym\codejock\9.10\Src\CommandBars\XTPCommandBars.cpp (1221): error #308: member "CDocTemplate::m_nIDResource" is inaccessible
     nIDResource = ((CFriendlyDocTemplate*)pDocTemplate)->m_nIDResource;

C:\Gensym\codejock\9.10\Src\CommandBars\XTPCommandBars.cpp (1224): error #308: member "CFrameWnd::m_nIDHelp" is inaccessible
      nIDResource = ((CFriendlyFrameWnd*)pChild)->m_nIDHelp;

XTPControlExt.cpp
C:\Gensym\codejock\9.10\Src\CommandBars\XTPControlExt.cpp( 308): error #308: member "CWinApp::m_pRecentFileList" is inaccessible
   CRecentFileList* pRecentFileList = ((CFiendWinApp*)(AfxGetApp()))->m_pRecentFileList;

XTPControls.cpp
C:\Gensym\codejock\9.10\Src\CommandBars\XTPControls.cpp(1) : error: expected a declaration
  / XTPControls.cpp : implementation of the CXTPControls class.
  ^
XTPCustomizeKeyboardPage.cpp
C:\Gensym\codejock\9.10\Src\CommandBars\XTPCustomizeKeyboa rdPage.cpp(365): error #308: member "CFrameWnd::m_nIDHelp" is inaccessible
   if (((CFrameFriendly*)pFrame)->m_nIDHelp == 0 && pCommandBars->m_hDesignerAccels == 0)

C:\Gensym\codejock\9.10\Src\CommandBars\XTPCustomizeKeyboa rdPage.cpp(376): error #308: member "CFrameWnd::m_nIDHelp" is inaccessible
     pFrame->LoadAccelTable(MAKEINTRESOURCE(((CFrameFriendly*) pFrame)->m_nIDHelp));

XTPManageState.cpp
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\multimon.h(98): error: expected a ")"
  int      (WINAPI* g_pfnGetSystemMetrics)(int) = NULL;




Replies:
Posted By: Oleg
Date Posted: 03 November 2004 at 8:44am
in next version all errors/warnings of Intel C++ will be fixed.

-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: fwhite
Date Posted: 03 November 2004 at 9:18am
Awesome! Thanks, Oleg!




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net