Author Topic: help on masm32 + windows 8... I'm a newbie  (Read 15284 times)

heizeru

  • Guest
help on masm32 + windows 8... I'm a newbie
« on: January 09, 2013, 12:57:06 AM »
Hello, I'm new to masm32 and need help, badly. I've installed it and these errors show up:

The ordinal 200/202 could not be located in the dynamic link library
C:\Windows\AppPatch\AcGeneral.DLL.
or AcLayers.DLL.

Will this affect the masm32's performance? I've an assignment to pass this friday and still have no clue on how to use masm.

I've tried some codes, not sure if they are masm32 codes and an error shows up:

Windows cannot find ':'. Make sure you typed the name correctly, and then try again.

This is the tester code that I used for hello word taken from this site http://www.webalice.it/jj2006/Masm32_Tips_Tricks_and_Traps.htm to check if I've installed masm32 correctly.

Code: [Select]
include \masm32\include\masm32rt.inc

.data ; initialised variables
MyAppName db "Masm32:", 0
MyReal8 REAL8 123.456
.data? ; non-initialised (i.e. zeroed) variables
MyDword dd ?
.code

start:
invoke MessageBox, 0, chr$("A box, wow!"), addr MyAppName, MB_OK
mov eax, 123
exit

end start

Also, can I ask for tutorial sites, if you know any?

Is it not working because I'm using windows 8? or there's a problem with the code?

Thanks in advance...

jj2007

  • Member
  • *****
  • Posts: 13871
  • Assembly is fun ;-)
    • MasmBasic
Re: help on masm32 + windows 8... I'm a newbie
« Reply #1 on: January 09, 2013, 01:23:10 AM »
Hi heizeru,

First things first: Welcome to the Forum :icon14:

There is a known issue with Windows 8, but it should work, see this thread.

As to the example, I just copied it from your post and pasted it here (Win7), and it works.
Does your error occur with the code you posted?
Which error line?
Which IDE/editor?

heizeru

  • Guest
Re: help on masm32 + windows 8... I'm a newbie
« Reply #2 on: January 09, 2013, 10:17:50 AM »
I am using this http://www.masm32.com/

every line has an error when I run it.

jj2007

  • Member
  • *****
  • Posts: 13871
  • Assembly is fun ;-)
    • MasmBasic
Re: help on masm32 + windows 8... I'm a newbie
« Reply #3 on: January 09, 2013, 10:41:57 AM »
You cannot use http://www.masm32.com/ as an editor, it's a website.

If you managed to install Masm32, following precisely the instructions, then you will have a folder C:\Masm32
Inside there you will find \Masm32\qeditor.exe

- Open this program.
- Copy and paste the example above
- Save as My1stApp.asm
- Click on the menu item Project/Build All
- A dark screen will appear and show you the build process
- Click on the menu item Project/run program

If all that doesn't work, ask your prof to help you.

qWord

  • Member
  • *****
  • Posts: 1475
  • The base type of a type is the type itself
    • SmplMath macros
Re: help on masm32 + windows 8... I'm a newbie
« Reply #4 on: January 09, 2013, 10:57:46 AM »
You cannot use http://www.masm32.com/ as an editor, it's a website.
  :icon_confused:
MREAL macros - when you need floating point arithmetic while assembling!

dedndave

  • Member
  • *****
  • Posts: 8828
  • Still using Abacus 2.0
    • DednDave
Re: help on masm32 + windows 8... I'm a newbie
« Reply #5 on: January 09, 2013, 08:49:29 PM »
i assume you mean that you downloaded and installed the masm32 package ?

show us some specific source code
show us some specific errors

we can be more helpful   :P

heizeru

  • Guest
Re: help on masm32 + windows 8... I'm a newbie
« Reply #6 on: January 10, 2013, 12:40:29 AM »
Sorry for not being specific there...  :P yes, i downloaded the masm32 package from this site http://www.masm32.com/ and i have installed it. Following jj2007's instructions I was able to run the sample code.  :t

Now, for my next problem before I mark this as solved. Are there any good tutorial sites that you know?

Thank you for bearing with me.  :P

jj2007

  • Member
  • *****
  • Posts: 13871
  • Assembly is fun ;-)
    • MasmBasic
Re: help on masm32 + windows 8... I'm a newbie
« Reply #7 on: January 10, 2013, 01:04:07 AM »
Are there any good tutorial sites that you know?

See "recommended reading" in http://jj2007.eu/Masm32_Tips_Tricks_and_Traps.htm
Besides, Art of Assembly is good reading if you have enough time, or Iczelion's tutorials if you want quick results in Windows programming.

For learning by doing, \Masm32\Examples is a good choice.
« Last Edit: May 13, 2019, 08:44:57 PM by jj2007 »

MichaelW

  • Global Moderator
  • Member
  • *****
  • Posts: 1196
Re: help on masm32 + windows 8... I'm a newbie
« Reply #8 on: January 10, 2013, 01:10:29 AM »
Now, for my next problem before I mark this as solved.

It would be better if you didn't mark it as solved. As stated in the the rules of the form, this is not a help desk.
Well Microsoft, here’s another nice mess you’ve gotten us into.

heizeru

  • Guest
Re: help on masm32 + windows 8... I'm a newbie
« Reply #9 on: January 10, 2013, 01:21:04 AM »
Thank you for all your help! :t now i am on my way to learning this language.  :greenclp:

dedndave

  • Member
  • *****
  • Posts: 8828
  • Still using Abacus 2.0
    • DednDave
Re: help on masm32 + windows 8... I'm a newbie
« Reply #10 on: January 10, 2013, 01:32:35 AM »
also - you can learn a lot from the help files
\masm32\help

Gunther

  • Member
  • *****
  • Posts: 4178
  • Forgive your enemies, but never forget their names
Re: help on masm32 + windows 8... I'm a newbie
« Reply #11 on: January 10, 2013, 04:49:26 AM »
Hi heizeru,

welcome to the forum.

Gunther
You have to know the facts before you can distort them.

heizeru

  • Guest
Re: help on masm32 + windows 8... I'm a newbie
« Reply #12 on: January 11, 2013, 12:19:15 AM »
many thanks to everyone! :)