News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

MASM32 Beta 10 (j)

Started by hutch--, August 03, 2008, 01:36:49 PM

Previous topic - Next topic

hutch--

This version has the new editor, the new script engine, the old script engine implimented as a DLL and the script/text insertion methods put into seperate directories to clean up the masm32 directory so other stuff is easier to find. I have added a missing reference in the dialogs help file, fixed a library module for the dynamic array system, added and synchronised the "Create New" range of menu options so they should be clearer and easier to use.

The new script engine is a lot faster and more powerful but I added the old one as a DLL so that existing scripts would run with no changes, there is a new DLL interface with a matching script to create new ones, the legacy format DLL inteface works correctly but the rich edit 2 is slightly diferent in that it only uses an ASCII 13 internally and this wil break a DLL that assumes a CRLF 13 10 pair on the read side.

I am hoping that this version is ready for release as I have been looking at it for too long but with the new editor and everything I can find fixed it should be very close to release. Testing and feedback would be appreciated.

www.masm32.com/download/beta10j.zip
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

jj2007

> so if you work for the KGB, having a badly scanned image of Richard Nixon George W Bush would work as a key

Some help files need updating, but otherwise a perfect job as usual, Sir Hutch!

hutch--

JJ,

Trick E. Dicky was just shifty, George W. is just plain dumb.  :bg
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

n00b!

Yeah, I love Updates!!

And I love Masm, thanks hutch!! :D

Vortex

Hi Hutch,

Checking my MASM32 Beta 10 (j) installation : I could not find msvcrt.inc and msvcrt.lib  Is there something I am missing?

hutch--

Thanks Erol, I will check what has happened, the install I have here writes both to the include and lib directories. In the mean time would you test the msvcrt stuff in the tools directory to see if it builds both the include and lib file ?
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

jj2007

D:\masm32\lib\msvcrt.lib
D:\masm32\include\msvcrt.inc

Both installed 3 August 2008...

hutch--

Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

Vortex

Hi Hutch,

I runned the batch file \masm32\tools\makecimp\makevcrt.bat and it created correctly the include file and the import library.

I reinstalled Beta 10 (j) with the antivirus software turned off and the installer created the two files without any problem.

hutch--

Thanks Erol, it means the AV scanner is recognising MSVCRT without the correct extension and protecting the wrong file.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

NGD

imagehlp.inc not present in \masm32\include\bldlibs.bat

hutch--

"imagehlp" is a legacy 95x dll, the platformsdk and later no longer include information for it.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

jj2007

Quote from: hutch-- on August 09, 2008, 01:47:23 AM
"imagehlp" is a legacy 95x dll, the platformsdk and later no longer include information for it.

Hutch,
\masm32\examples\exampl06\listview\listview.asm needs imagehlp, although I managed to get it work again with a few changes:

      .if byte ptr szPath+2 != '\' || eax > 3
         INVOKE     lstrcat, addr szPath, addr szSlashB
      .endif
   ;  include  \MASM32\include\imagehlp.inc
   ;  includelib  \MASM32\LIB\imagehlp.LIB
   ; INVOKE  SearchTreeForFile, addr szPath, addr szFile, addr szRoot

   ; *** NEW ***
   .data
   txDLL   db "dbghelp.dll", 0
   txSTFF   db "SearchTreeForFile", 0
   .code
   invoke LoadLibrary, offset txDLL
   .if eax
      push eax ; handle on stack
      invoke GetProcAddress, eax, offset txSTFF
      push offset szRoot
      push offset szFile
      push offset szPath
      call eax   ; SearchTreeForFile
      push eax
      invoke FreeLibrary, [esp+4] ; handle is on stack
      pop eax   ; for lstrlen
      pop ecx
   .endif
   ; *** end NEW ***
      .if eax
         INVOKE     lstrlen, addr szRoot