Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » [vc6] Upgrade 2.83 to 2.85: fatal error 1076 internal heap limit Collapse All
Subject Author Date
Matthias Hoepfer Jun 30, 2009 - 2:19 AM

Hi,


after installing and building ProfUIS 2.83 libs (no errors or problems) the projects compilations abort with the following error:




 c:\programme\microsoft visual studio\vc98\mfc\include\afxtempl.h(68) : fatal error C1076: Compiler-Beschränkung: Interne Heap-Grenze erreicht; Verwenden Sie /Zm, um eine hoehere Grenze  anzugeben

        c:\programme\microsoft visual studio\vc98\mfc\include\afxtempl.h(464) : Siehe Verweis auf Instantiierung der kompilierten Funktionsvorlage ’void __stdcall DestructElements(class CExtBarNcAreaButton ** ,int)’




 Any ideas?


 

Matthias Hoepfer Jul 2, 2009 - 1:17 AM

Thanks, worked fine.

Technical Support Jun 30, 2009 - 6:36 AM

Sure. Prof-UIS 2.85 and any projects based on it now cannot be compiled without specifying /Zm compiler option. Prof-UIS is now larger than any project Visual C++ expects to deal with. So, all the Prof-UIS library and sample projects now have the /Zm512 compiler option. This requirement meant in the Prof-UIS 2.84 release notes: http://www.prof-uis.com/prof-uis/version-history/version-284.aspx. Please specify the /Zm512 compiler option in each configuration of your project. If you are using Visual C++ 6.0, then please open the C / C++ tab page of the project properties dialog and add the /Zm512 compiler option to the end of the project options multiline editor. If you are using Visual Studio .NET or later, then select the Configuration Properties | C / C++ | Command Line tree item in the project properties dialog and specify the /Zm512 compiler option in the additional options multiline editor.

Matthias Hoepfer Jul 2, 2009 - 1:17 AM

Thanks, worked fine.