News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

help on masm32 + windows 8... I'm a newbie

Started by heizeru, January 09, 2013, 12:57:06 AM

Previous topic - Next topic

heizeru

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...

jj2007

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

I am using this http://www.masm32.com/

every line has an error when I run it.

jj2007

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

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:
MREAL macros - when you need floating point arithmetic while assembling!

dedndave

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

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

#7
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 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.

MichaelW

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, this is not a help desk.
Well Microsoft, here's another nice mess you've gotten us into.

heizeru

Thank you for all your help! :t now i am on my way to learning this language.  :greenclp:

dedndave

also - you can learn a lot from the help files
\masm32\help

Gunther

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

heizeru