The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: akalenuk on July 11, 2006, 01:06:09 PM

Title: Iczedit source building problem.
Post by: akalenuk on July 11, 2006, 01:06:09 PM
In the lesson 35, Iczelion gives an example of syntax highlighting for a rich edit. The executable works fine, but when i try to rebuild it with my MASM, it makes an executable, which simply closes the window. Lesson's 34 or 33 are allright. Maybe someone allready solved the problem, or just know what is the cause of it?
Title: Re: Iczedit source building problem.
Post by: Casper on July 11, 2006, 04:59:35 PM
akalenuk
I am attaching my copy of tutorial 35, it builds and executes correctly.

Paul


[attachment deleted by admin]
Title: Re: Iczedit source building problem.
Post by: ToutEnMasm on July 11, 2006, 06:56:28 PM
Hello,
This tut use the stack as data.But the stack is less than the amount of data needed.An option of link increase the size of the stack.
You have just to modify the options of link like that,added /STACK:2000000,2000000

Link /SUBSYSTEM:WINDOWS /STACK:2000000,2000000 /LIBPATH:\masm32\lib /DEBUG /PDB:IczEdit.pdb IczEdit.obj IczEdit.bin

                                         ToutEnMasm

Title: Re: Iczedit source building problem.
Post by: akalenuk on July 12, 2006, 01:09:05 PM
Quote from: ToutEnMasm on July 11, 2006, 06:56:28 PM
This tut use the stack as data.But the stack is less than the amount of data needed.An option of link increase the size of the stack.
You have just to modify the options of link like that,added /STACK:2000000,2000000
Yes! Thanks, it really was the stack problem.