WinAsm Studio, The Assembly IDE - Free Downloads, Source Code
Forum

Pages: (2) [1] 2   ( Go to first unread post ) Reply to this topicStart new topicStart Poll

Stuck Iczelion Tutorial #2

Lachdahnan
Posted: Jan 16 2008, 04:01 PM
Quote Post


New Member
*

Group: Members
Posts: 14
Member No.: 5739
Joined: 13-January 08


From Iczelions tutorial #2 a little past half way down.


Now save the example under the name msgbox.asm. Assuming that ml.exe is in your path, assemble msgbox.asm with:

ml /c /coff /Cp msgbox.asm



I dont understand what I am supposed to do here. I have WinAsm open, but what is ml.exe? And where do I put those ... things :P In command prompt?

PMEmail Poster
Top
Lahar
Posted: Jan 16 2008, 07:48 PM
Quote Post


Very Active Member
****

Group: Members
Posts: 64
Member No.: 5522
Joined: 18-August 07


ml.exe is the masm assembler. You need ml.exe and link.exe to convert your .asm file to .obj file and later into an exe file . Which can be seen in your masm32/bin folder.

You don't to want worry about those command line options while ur in WinAsm. Just write ur src and compile from Make -> Go All. Thats all.I think Iczelion didn't had the luxury of a good masm IDE while he writing those tutorials :D .

you can configure switches from Project -> Properties. WinAsm help file contains detailed information about the switches to ml.exe and link.exe .

__Lahar__
PMEmail Poster
Top
Lachdahnan
Posted: Jan 16 2008, 08:25 PM
Quote Post


New Member
*

Group: Members
Posts: 14
Member No.: 5739
Joined: 13-January 08


Ok, I tried to compile it but I got this error.

/SUBSYSTEM:WINDOWS /RELEASE /VERSION:4.0 "/LIBPATH:R:\Masm32\Lib" "R:\WinAsm\Samples\tut02\MSGBOX.obj" "/OUT:R:\WinAsm\MSGBOX.exe"
LINK : fatal error LNK1181: cannot open input file "R:\WinAsm\Samples\tut02\MSGBOX.obj"

Make finished. 1 error(s) occured.

I dont know what this means :P
PMEmail Poster
Top
shoorick
Posted: Jan 16 2008, 09:28 PM
Quote Post


Extremely Active Member
******

Group: Admins
Posts: 1256
Member No.: 160
Joined: 22-June 04


pack your project and attach here
PMEmail Poster
Top
Lachdahnan
Posted: Jan 16 2008, 09:56 PM
Quote Post


New Member
*

Group: Members
Posts: 14
Member No.: 5739
Joined: 13-January 08


Here ya go

*EDIT*
Doh! I put the tutorial in a folder. After it assembled, it put the .obj file in a different folder. And I guess when you build, they have to be in the same folder. Anyway, I got it to work. Well.. thats one more thing I know not to do! Thanks again guys.*EDIT*

Attached File ( Number of downloads: 2 )
Attached File  tut02.rar
PMEmail Poster
Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

Topic Options Pages: (2) [1] 2  Reply to this topicStart new topicStart Poll

 

WinAsm Studio

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

General Discussions
Suggestions/Bug Reports
Assembly Programming

Main
Newbies
Projects
Custom Controls
Snippets
Computer Science

Internet
C/C++