Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - XTP and large source files
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

XTP and large source files

 Post Reply Post Reply
Author
Message
ABuenger View Drop Down
Newbie
Newbie
Avatar

Joined: 02 February 2006
Status: Offline
Points: 1075
Post Options Post Options   Thanks (0) Thanks(0)   Quote ABuenger Quote  Post ReplyReply Direct Link To This Post Topic: XTP and large source files
    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
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: 03 August 2006 at 7:36am
Hello,
Add /Zm200 to compiller options and it will be resolved.
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.