WinAsm Studio, The Assembly IDE - Free Downloads, Source Code
Sponsors
Articles
Programming Quick Start
32-bit Assembler is Easy
Porting Iczelion tutorials
What is FASM
What is FASM G
Hard Drive Recovery
Wiring your own LAN
Personal menu
Welcome Guest
User:
Pass:
Register!
Resend Validation Email
 
Forum
 

Command prompt, closes so fast unable to read the output.

Kema01
Quote Post


New Member
*

Group: Members
Posts: 1
Member No.: 6936
Joined: 20-April 08


Sponsored Links
Hi,

I use masm with HiEditor and when assembling a file, it opens a dos window but it closes so fast i can't read what the output was.

Got any hint how to fix it!?

Thx.
PMEmail Poster
Top
akyprian
Quote Post


Administrator
******

Group: Admins
Posts: 2328
Member No.: 1
Joined: 12-May 04


Hi Kema01,

Unfortunately, this is how the microsoft assembler console works. It closes when it is finished.

What you can do is call the assembler from a batch file in which you'll have a PAUSE statement at the end. From HiEditor, call the batch file instead of the assembler executable (ml.exe)

Off course, if you have the skills, you can create a GUI executable which will get the assembler console output. You will call this GUI executable from HiEditor.

Whichever decision you take, feel free to ask for any help you might need.

Regards,

Antonis
PMEmail PosterUsers Website
Top
majkinetor
Quote Post


Very Very Active Member
*****

Group: Members
Posts: 80
Member No.: 4997
Joined: 11-May 07


C:\Documents and Settings\Miodrag Milic>cmd /?
Starts a new instance of the Windows XP command interpreter

CMD [/A | /U] [/Q] [/D] [/E:ON | /E:OFF] [/F:ON | /F:OFF] [/V:ON | /V:OFF]
[[/S] [/C | /K] string]

/C Carries out the command specified by string and then terminates
/K Carries out the command specified by string but remains
/S Modifies the treatment of string after /C or /K (see below)
/Q Turns echo off
/D Disable execution of AutoRun commands from registry (see below)
/A Causes the output of internal commands to a pipe or file to be ANSI
/U Causes the output of internal commands to a pipe or file to be
Unicode
/T:fg Sets the foreground/background colors (see COLOR /? for more info)
/E:ON Enable command extensions (see below)
/E:OFF Disable command extensions (see below)
/F:ON Enable file and directory name completion characters (see below)
/F:OFF Disable file and directory name completion characters (see below)
/V:ON Enable delayed environment variable expansion using ! as the
delimiter. For example, /V:ON would allow !var! to expand the
variable var at execution time. The var syntax expands variables
at input time, which is quite a different thing when inside of a FOR
loop.
PMEmail Poster
Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

Topic Options Reply to this topicStart new topicStart Poll

 

Sponsors
Computer Science

Internet
C/C++
Hardware & PC maintenance

HiEditor

General Discussions
Suggestions/Bug Reports
WinAsm Studio

General Discussions
Suggestions/Bug Reports
WinAsm Studio FAQ
Multilingual User Interface
Add-Ins
Assembly Programming

Main
Newbies
Projects
Custom Controls
Snippets
Announcements & Rules

Announcements

General

Online Degrees - Distance Learning
The Heap
Russian
Google