The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: laskar01 on October 26, 2011, 07:39:10 AM

Title: Can't run Hello.asm
Post by: laskar01 on October 26, 2011, 07:39:10 AM
Hi everybody I am new here.

In tutorial one it says:
Build this with the "Project" menu using
;                       "Console Assemble and Link"

I did that then I clicked on Run Program, and I just breifly saw a console window flashing.

What am I doing wrong?
Please help!

Title: Re: Can't run Hello.asm
Post by: jj2007 on October 26, 2011, 08:57:49 AM
Put an inkey "hello" before ExitProcess, and you may see output. Otherwise, start the exe from a command prompt.
Title: Re: Can't run Hello.asm
Post by: ToutEnMasm on October 26, 2011, 09:14:24 AM

Most of the consoles executables just do that when you run them from windows.
Open a dos windows ( start button --> execute = cmd.exe ),you see a blackscreen.
Change to the directory of the executable,run it.The screen show you what he do.
Title: Re: Can't run Hello.asm
Post by: laskar01 on October 26, 2011, 10:31:07 AM
Thank you guys, when running it in cmd.exe
it works!

I am 41 years old.
Title: Re: Can't run Hello.asm
Post by: hutch-- on October 26, 2011, 11:07:42 AM
Hi laskar01, welcome on board, glad to see a young fella of your age writing the hard stuff.  :U
Title: Re: Can't run Hello.asm
Post by: dedndave on October 26, 2011, 02:08:06 PM
welcome to the forum, laskar   :U

when i was 41, i got carded for a case of beer   :bg
next day, i bought the gal flowers   :P