Home Tutorial Win32 API Reference Projects

ADW Modula-2

ADW Modula-2, © ADW Software is the successor of Stony Brook Modula-2, and is released as freeware.

To download the most recent version of the package, go to the download page.

History

January 2022

Compiler 1.6.879. Contains some error recovery. Also contains a new procedure ExStorage.EnableLFH. This procedure enables low fragment heap algorithms for the main process heap. What it is you may see in Microsoft docs.

The motivation of this change is the following. By unknown reason Microsoft some time ago changed default for user's heap allocation/deallocation algorithm from LFH to so-called standard, as it was before Windows Vista. For applications linked by Visual Studio as releases RTL library sets algorithm to LFH. Using standard allocation/deallocation algorithm leads to very slow operations, esepecially deallocation.

To use LFH it is sufficient to insert call of ExStorage.EnableLFH in the beginning of the application body. To enable LFH for other heaps it is necessary to insert call of WIN32.HeapSetInformation procedure with the appropriateparameters. If an ADW Modula-2 linked application is run under the debugger, then the standard allocation/deallocation algorithm will be used. But, when environment variable _NO_DEBUG_HEAP = 1, then LFH will be used under debugger too.

August 2019

Fixes the following problems:

June 2017

The following problems have been fixed:

September 2016

The following problems have been fixed:

August 12, 2014

August 2, 2013

April 15, 2013

Important: SYM-files of existing projects should be deleted and DEF sources must be recompiled.

May 11, 2012

Mar 13, 2012

Jan 16, 2012

Dec 8, 2011


AltStyle によって変換されたページ (->オリジナル) /