Help ! Long for you to solve the below bug.
It seems that i found a bug in F:\masm32\examples\exampl07\dynarray\loadfile.
mov hArr, arrfile$("1.txt");
When number of lines of '1.txt' is odd,[loadfile.exe] will crash.
which version of the masm32 package are you using ?
this should have been fixed in masm32 v11 - maybe not :P
http://www.masmforum.com/board/index.php?topic=17159.0 (http://www.masmforum.com/board/index.php?topic=17159.0)
i think the last page or 2 of that thread has a fix
You are right,he is in \examples\exampl10\dynarray\loadfile\loadfile.zip
here is the same using the "ready to use sdk",it run .
He load the "\masm32\include\windows.inc",run it in one directory,not in the open zip.
Quote from: dedndave on April 25, 2013, 02:02:34 AM
http://www.masmforum.com/board/index.php?topic=17159.0 (http://www.masmforum.com/board/index.php?topic=17159.0)
i think the last page or 2 of that thread has a fix
And caution with the test in the last post, you might exceed the speed limit 8)
http://www.masmforum.com/board/index.php?topic=17159.0 (http://www.masmforum.com/board/index.php?topic=17159.0)
dedndave's code runs well !
Thanks !
i think the LfModTst.zip attachment works pretty well, as i recall
Quote from: dedndave on April 25, 2013, 04:50:59 PM
i think the LfModTst.zip attachment works pretty well, as i recall
Yes.I agree with you.