News:

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

asm console programs do not run on my computer

Started by blackjoe0, October 06, 2006, 11:38:57 AM

Previous topic - Next topic

blackjoe0

HI i am new to assembler and console programs do not run on my computer
need help thanx.

sinsi

I'm pretty sure that console programs do run on your computer, just (maybe) not your programs.  :bg
Try LINK with the /SUBSYSTEM:CONSOLE switch.
Light travels faster than sound, that's why some people seem bright until you hear them.

dsouza123

The same console program PressKey.asm

renamed PressKeyC.asm then assembled and linked using the menu item Console Assemble & Link in QEditor

renamed PressKeyG.asm then assembled and linked using the menu item Assemble & Link (for GUI programs).

PressKeyC.exe will start a console then put a short text message, and wait for a key to be pressed.

PressKeyG.exe will seem to do nothing because it doesn't start a console.

The Console Assemble & Link runs a batch file that uses the console linking option that sinsi suggested.

[attachment deleted by admin]

redskull

try adding a call to AllocConsole; it certainly won't make it work any less :toothy
Strange women, lying in ponds, distributing swords, is no basis for a system of government

Vortex

blackjoe0,

Can you run the console applications from the command prompt?