The MASM Forum Archive 2004 to 2012

Project Support Forums => IDE Development and Support => RadAsm Support Forum => Topic started by: ipadilla on November 17, 2007, 12:17:01 PM

Title: MasmED bug
Post by: ipadilla on November 17, 2007, 12:17:01 PM
Hi KetilO
MasmEd produce an error at startup time. Here is the exception:

Exception in 0x00407be9 in MasmEd.exe: 0xC0000005:
Infraction de access location 0x00000000.

OS: Windows Vista

If I have time I will try to resolve this bug.

Regards
ipadilla
Title: Re: MasmED bug
Post by: KetilO on November 17, 2007, 02:57:08 PM
Hi ipadilla

I dont have access to Vista yet, so if you have the time it would be great.

KetilO
Title: Re: MasmED bug
Post by: ipadilla on November 18, 2007, 06:54:05 PM
Hi KetilO
Windows Vista does not like the way you get the "command line filename".
MasmEd crash  running under this OS if you use the following 3 lines .

   ;Get command line filename
   .if byte ptr [edx]
      invoke OpenCommandLine,CommandLine
   .endif

SimEd use the following implementation and have not problems at all:

   ;Get command line filename
   mov      edx,CommandLine
   mov      al,[edx]
   .IF al
      invoke lstrcpy,offset FileName,edx
      invoke TabToolSetText,0,offset FileName
      invoke LoadFile,hREd,offset FileName
   .ENDIF

If you change it like in SimEd, MasmEd run like a clock under Windows Vista
If you need something else please contact me.

Title: Re: MasmED bug
Post by: KetilO on November 19, 2007, 09:11:02 AM
Thanks ipadilla

New version of MasmEd uploaded at:

http://www.radasm.com/projects/MasmEd.zip

KetilO
Title: Re: MasmED bug
Post by: UtillMasm on November 22, 2007, 05:25:14 AM
RadASM v2.2.1.2 is ok for Windows Vista!
Title: Re: MasmED bug
Post by: ipadilla on November 29, 2007, 02:00:01 PM
Yes, Radasm v2.2.1.2 is running on my computer, under Windows Vista, without problems at all.
ipadilla