XTP and large source files |
Post Reply |
Author | |
ABuenger
Newbie Joined: 02 February 2006 Status: Offline Points: 1075 |
Post Options
Thanks(0)
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
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hello,
Add /Zm200 to compiller options and it will be resolved.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |