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
Hard Drive Recovery
Wiring your own LAN
Personal menu
Welcome Guest
User:
Pass:
Register!
Resend Validation Email
 
Forum
Pages (3) [1] 2 3   ( Go to first unread post )

Project Names, do project names have to be the same as

icehole
Quote Post


Extremely Active Member
******

Group: Members
Posts: 168
Member No.: 1938
Joined: 12-January 06


I cannot get 'Make -> Go All' to work without an 'Execution Error' popping up unless the Project name and the File name are the same. All the files are generated correctly and the .exe executes.

Is this normal or am I missing something?

I just started a DOS project and have only one file at the moment with a few procs in it that will be the video IO for my project. I am used to running ml, link and exe2bin to do things but I would like to avoid running to the command prompt to test my .exe constantly.

In the help file it shows how to start a project and it uses MyApp as both the project name and the file name. I can make the names the same for my main program if necessary, I just want to make sure I am not missing something.

Thanks
PMEmail Poster
Top
shoorick
Quote Post


Extremely Active Member
******

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


post your project so we can see what there can be done.
look there: http://www.winasm.net/forum/index.php?showtopic=307
=====
you have to recieve error message with it - had you?
=====
maybe you do not wish to run exe after "Go All"? - turn off option in "Options"

This post has been edited by shoorick on Jan 15 2006, 11:22 PM
PMEmail PosterUsers Website
Top
akyprian
Quote Post


Administrator
******

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


For 16-bit projects, no spaces are allowed. Please , paste your output window text here for more help.


Antonis
PMEmail PosterUsers Website
Top
icehole
Quote Post


Extremely Active Member
******

Group: Members
Posts: 168
Member No.: 1938
Joined: 12-January 06


When I noticed the problem I made a bare bones test program to work with as I thought it was the way I was creating the project. Attached you will find 2 projects - one works and the other does not work using "Make -> Go All". Well, as I mentioned, the files are generated correctly in either case. I just get a small window pop up that states "Execution Failed!" if the project name and .asm name are different.

Only difference between those two projects is the project name.

Here is the Output from both (also included in the zip files):

---------------------------works.wap----------------------------------------------
\Masm32\Bin\ML /c /I"\Masm32\Include" "C:\WinAsm\projects\test\works\works.asm"
Microsoft ® Macro Assembler Version 6.14.8444
Copyright © Microsoft Corp 1981-1997. All rights reserved.
Assembling: C:\WinAsm\projects\test\works\works.asm

\Masm32\Bin\Link16 @"C:\WinAsm\projects\test\works\link.war"
Microsoft ® Segmented Executable Linker Version 5.60.339 Dec 5 1994
Copyright © Microsoft Corp 1984-1993. All rights reserved.

Object Modules [.obj]: C:\WinAsm\projects\test\works\works.objj

Make finished. 0 error(s) occured.
-----------------------------------------------------------------------------------

----------------------------nowork.wap---------------------------------------------
\Masm32\Bin\ML /c /I"\Masm32\Include" "C:\WinAsm\projects\test\nowork\works.asm"
Microsoft ® Macro Assembler Version 6.14.8444
Copyright © Microsoft Corp 1981-1997. All rights reserved.
Assembling: C:\WinAsm\projects\test\nowork\works.asm

\Masm32\Bin\Link16 @"C:\WinAsm\projects\test\nowork\link.war"
Microsoft ® Segmented Executable Linker Version 5.60.339 Dec 5 1994
Copyright © Microsoft Corp 1984-1993. All rights reserved.

Object Modules [.obj]: C:\WinAsm\projects\test\nowork\works.objj

Make finished. 0 error(s) occured.
-----------------------------------------------------------------------------------

Thank you for looking at this.

Attached File ( Number of downloads: 21 )
 Login or Register to download
PMEmail Poster
Top
shoorick
Quote Post


Extremely Active Member
******

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


i'd suggest you to go to the project properties and explicitly set out name ("works.exe" or "noworks.exe") - may be this will help.
regards1
PMEmail PosterUsers Website
Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

Topic Options Pages (3) [1] 2 3  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