Quantcast
Viewing all articles
Browse latest Browse all 1448

Increase Stack Size in a Vb6 exe

I want to share my method to increase stack suze for VB6. (I need that for M2000 Interpreter, so now I can calll 14500 times the same function...in m2000 (so more in vb6 inside))
I made a bat file, and all we need is the editbin.exe from Masm32.
I checked also in a signed version of m2000.exe, and the sign is ok after the stack increase.
Here we get more than 100Mbyte (but not all is used, only commited, as achunk of continues memory.

Echo off
Cls
Echo Set Stack Size for M2000 - press enter
C:\masm32\bin\editbin /stack:108000000 m2000.exe

Viewing all articles
Browse latest Browse all 1448

Trending Articles