First, thanks very much for the reply. I'll do some more searching with dwStackSize and STACKSIZE in the .def file. Is there any other wordings I could search on that might get me some more reference? I am also curious how other languages and non managed applications allocate. Thanks.