delphi - How to set stack (non initial) commit size of main thread -


the question not minimal stack size (initial commited size). found how in vs http://msdn.microsoft.com/en-us/library/8cxs58a6.aspx.

in delphi 7(in xe possible make easier), can offer after сompiling edit pe header manually own utility. may have solution easier.

you can use $minstacksize , $maxstacksize directives control gets written pe file. directives control stack commit , reserve sizes respectively. alternative using 2 separate directives can control both values @ once $m directive. documentation here: http://docwiki.embarcadero.com/radstudio/en/memory_allocation_sizes_(delphi)

these settings can controlled in project options. location of these options vary between ide versions found linker options: http://docwiki.embarcadero.com/radstudio/en/linking


Comments

Popular posts from this blog

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -