News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Hello, Newbie question

Started by Sketch, November 26, 2007, 03:25:19 AM

Previous topic - Next topic

Sketch

Hello, I am completely new to ASM and rather a novice at programming in general, I do know some about c++ and I wanted to expand my knowledge to whats going on below the upperlevel language, I downloaded and installed your latest version of MASM on a vista laptop, all seemed to go OK.

Anyway I went to compile and run the demo programs, they compile fine but at runtime it looks allot like a console program in c++ where the programmer forgot to ask for user input before terminating the program, IE- the console window flashes for a second and then disappears.

Its probably something stupid that I did or a bug involving vista, any ideas to solve this issue would be great - as a side note, can anyone point me to some decent tutorials on MASM?

Tight_Coder_Ex

It has more to do with the way 95/98/ME/XP/Vista treats DOS applications.

There are two ways you can solve this

1: Wait for keyboard input at end of program or;
2: Open MSDOS window first and then launch application from there as if you were on a DOS computer

hutch--

Sketch,

Just open a console first, most console apps are designed NOT to stop so that they can be used sequentially in things like batch files where yopu don't want a prompt to stop it.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

Sketch

Hey thanks for the help, when launched from the console window it works, I really appreciate it.