Author Topic: Fatal Error: cannot open input file .EXE!  (Read 10616 times)

dedndave

  • Member
  • *****
  • Posts: 8823
  • Still using Abacus 2.0
    • DednDave
Re: Fatal Error: cannot open input file .EXE!
« Reply #15 on: June 13, 2014, 06:17:12 AM »
there are thousands   :biggrin:

if you want to look inside the DLL's, you can use a free program called Dependency Walker

but - it's much easier to just look at the include files in \masm32\include
these are plain text files that may be opened with NotePad

if you want to see what's inside kernel32.dll,
most of the functions are prototyped in \masm32\include\kernel32.inc

g6g6

  • Regular Member
  • *
  • Posts: 22
Re: Fatal Error: cannot open input file .EXE!
« Reply #16 on: June 13, 2014, 06:21:09 AM »
Tks!

dedndave

  • Member
  • *****
  • Posts: 8823
  • Still using Abacus 2.0
    • DednDave
Re: Fatal Error: cannot open input file .EXE!
« Reply #17 on: June 13, 2014, 06:22:59 AM »
if you want descriptions, microsoft maintains a site called MSDN
most of the functions are documented in the MSDN library

here's a simple example
http://msdn.microsoft.com/en-us/library/windows/desktop/ms682658%28v=vs.85%29.aspx

they are shown in C syntax, of course
most of us can look at the C code and know the MASM syntax is
Code: [Select]
        INVOKE  ExitProcess,uExitCode

g6g6

  • Regular Member
  • *
  • Posts: 22
Re: Fatal Error: cannot open input file .EXE!
« Reply #18 on: June 13, 2014, 06:34:44 AM »
Yes, I know this site..Do you thing that with just this book that I am studying I can lear assembly?

dedndave

  • Member
  • *****
  • Posts: 8823
  • Still using Abacus 2.0
    • DednDave
Re: Fatal Error: cannot open input file .EXE!
« Reply #19 on: June 13, 2014, 06:42:11 AM »
Kip's book is great for learning the basics, like....
data types - numbering systems
basic masm syntax
intel instructions

there are some things that Kip does in an "out of date" way, though
the best example of this is that most of his library functions are passed arguments in register
and - the functions don't typically follow the rules of the windows ABI

per microsoft, things changed drastically between 16-bit DOS and 32-bit Windows
for example, arguments are passed on the stack (not in registers)
many of the methods Kip uses are carry-overs from 16-bit days

as long as you understand that, you can still use Kip's book to learn the basics

g6g6

  • Regular Member
  • *
  • Posts: 22
Re: Fatal Error: cannot open input file .EXE!
« Reply #20 on: June 13, 2014, 07:13:24 AM »
Yess, tks

Gunther

  • Member
  • *****
  • Posts: 3585
  • Forgive your enemies, but never forget their names
Re: Fatal Error: cannot open input file .EXE!
« Reply #21 on: June 14, 2014, 02:01:35 AM »
there are some things that Kip does in an "out of date" way, though
the best example of this is that most of his library functions are passed arguments in register
and - the functions don't typically follow the rules of the windows ABI

Always this Kip. I can't recommend him.

Gunther
Get your facts first, and then you can distort them.

g6g6

  • Regular Member
  • *
  • Posts: 22
Re: Fatal Error: cannot open input file .EXE!
« Reply #22 on: June 14, 2014, 02:35:09 AM »
what you recommend?

Gunther

  • Member
  • *****
  • Posts: 3585
  • Forgive your enemies, but never forget their names
Re: Fatal Error: cannot open input file .EXE!
« Reply #23 on: June 14, 2014, 04:15:45 AM »
what you recommend?

For learning 32-bit Windows programming: Download and install the MASM32 package. It contains a large number of working and well commented examples, tutorials and help files. That should be sufficient for a start. Later are the manuals by Intel and AMD very helpful.

Gunther
Get your facts first, and then you can distort them.