Print Page | Close Window

XTP and large source files

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=4713
Printed Date: 03 July 2024 at 5:59am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: XTP and large source files
Posted By: ABuenger
Subject: XTP and large source files
Date Posted: 03 August 2006 at 6:45am
I've added the XTP to a COM component and got an internal compiler error. For some reason the VS6 gives up after around 4500 lines of code in a single source file if the XTToolkitPro.h is included. It's anyway not a good idea to have that much LOC in a file but you might want to add that info to the knowledge base.
 
 
c:\program files\microsoft visual studio\vc98\mfc\include\afxtempl.h(1320) : fatal error C1076: compiler limit : internal heap limit reached; use /Zm to specify a higher limit
        c:\program files\codejock software\mfc\xtreme toolkitpro 2006 q3\source\calendar\xtpsmartptrinternalt.h(98) : while compiling class-template member function 'struct CMap<unsigned long,unsigned long,class CXTPSmartPtrInternalT<class CXTPCalendarE
vent>,class CXTPSmartPtrInternalT<class CXTPCalendarEvent> &>::CAssoc *__thiscall CMap<unsigned long,unsigned long,class CXTPSmartPtrInternalT<class CXTPCalendarEvent>,class CXTPSmartPtrInternalT<class CXTPCalendarEvent> &>::GetAssocAt(unsigned long
,unsigned int &) const'


-------------
Codejock support



Replies:
Posted By: Oleg
Date Posted: 03 August 2006 at 7:36am
Hello,
Add /Zm200 to compiller options and it will be resolved.


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



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