News:

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

MASM Executable doesn't work

Started by mati, February 24, 2008, 11:10:49 PM

Previous topic - Next topic

mati

Hello,

on my Notebook, i cant open a executable, which was coded in MASM, and is called "snestool.exe".
When i start it via DOS Command prompt, i get the following Message:

"[....]\snestool.exe not executable" or in German: "[....]\snestool.exe nicht ausführbar".


Is there any .dll needed? Short time ago it worked, but suddenly i cant open that program anymore.


Thanks for your suggestions.

donkey

A quick look at the header in hex shows that this is not a windows executable but a 16 bit DOS exe, so no, there can be no DLL's necessary. Scanning for viruses showed nothing so I ran it in a Win98 virtual machine in 16 bit DOS mode and it works fine.

When looking at an executable, Windows executables will generally have a stub and a PE extension (IMAGE_NT_HEADERS) after the magic header, they are not present in this file so you must assume it is a 16 bit DOS file...

00000000 4D 5A AA 01 2F 00 02 00 - 20 00 01 01 FF FF BB 05 MZª./... ...ÿÿ».
00000010 00 10 00 00 00 00 00 00 - 1E 00 00 00 01 00 01 00 ................
00000020 00 00 20 00 00 00 00 00 - 00 00 00 00 00 00 00 00 .. .............
00000030 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
00000040 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
"Ahhh, what an awful dream. Ones and zeroes everywhere...[shudder] and I thought I saw a two." -- Bender
"It was just a dream, Bender. There's no such thing as two". -- Fry
-- Futurama

Donkey's Stable