The MASM Forum

Projects => MASM32 => Topic started by: heizeru on January 09, 2013, 12:57:06 AM

Title: help on masm32 + windows 8... I'm a newbie
Post by: heizeru 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.


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...
Title: Re: help on masm32 + windows 8... I'm a newbie
Post by: jj2007 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 (http://masm32.com/board/index.php?topic=1110.msg10568#msg10568).

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?
Title: Re: help on masm32 + windows 8... I'm a newbie
Post by: heizeru 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.
Title: Re: help on masm32 + windows 8... I'm a newbie
Post by: jj2007 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.
Title: Re: help on masm32 + windows 8... I'm a newbie
Post by: qWord on January 09, 2013, 10:57:46 AM
Quote from: jj2007 on January 09, 2013, 10:41:57 AM
You cannot use http://www.masm32.com/ as an editor, it's a website.
:icon_confused:
Title: Re: help on masm32 + windows 8... I'm a newbie
Post by: dedndave 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
Title: Re: help on masm32 + windows 8... I'm a newbie
Post by: heizeru 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
Title: Re: help on masm32 + windows 8... I'm a newbie
Post by: jj2007 on January 10, 2013, 01:04:07 AM
Quote from: heizeru on January 10, 2013, 12:40:29 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 (http://www.plantation-productions.com/Webster/www.artofasm.com/Windows/HTML/AoATOC.html) is good reading if you have enough time, or Iczelion's tutorials (http://win32assembly.programminghorizon.com/tutorials.html) if you want quick results in Windows programming.

For learning by doing, \Masm32\Examples is a good choice.
Title: Re: help on masm32 + windows 8... I'm a newbie
Post by: MichaelW on January 10, 2013, 01:10:29 AM
Quote from: heizeru on January 10, 2013, 12:40: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 (http://masm32.com/board/index.php?topic=4.0), this is not a help desk.
Title: Re: help on masm32 + windows 8... I'm a newbie
Post by: heizeru 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:
Title: Re: help on masm32 + windows 8... I'm a newbie
Post by: dedndave on January 10, 2013, 01:32:35 AM
also - you can learn a lot from the help files
\masm32\help
Title: Re: help on masm32 + windows 8... I'm a newbie
Post by: Gunther on January 10, 2013, 04:49:26 AM
Hi heizeru,

welcome to the forum.

Gunther
Title: Re: help on masm32 + windows 8... I'm a newbie
Post by: heizeru on January 11, 2013, 12:19:15 AM
many thanks to everyone! :)