News:

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

Windows XP & Console Programs

Started by gonpublic, March 08, 2006, 05:11:35 PM

Previous topic - Next topic

gonpublic

Hi all, I'm new to this community and to GoAsm but I've used other assembly programs before, such as, MASM, MASM32 etc..  My question is regarding the beginning of your tutorials, the simple console program called 'nothing.asm' - I'm having a problem when I run the compiled version of the program, where Windows XP displays an error message. I've tried to debug the error and can't get anywhere so I'm posting this here in the hope that someone had experienced this before and can give me some clues, here's a screenshot of the error when the program runs:



I followed the instructions in the beginners guide up to the T -  created the 'Prog' folder on the c: drive, copied GoAsm, GoRC, GoLink and GoBug as described to that folder and created
the nothing.asm and gonothing.bat as described in the tutorial.   It seems to me that Windows has a problem with exiting out of the program for some reason but I'm not sure, so if anyone
has an idea, I'd appreciate it.   Thanks!!

jorgon

Hi gonpublic

Welcome to the forum.

The program you are making is:-
CODE
START:
RET


I've just tried this again on my XP machine with SP2 and it comes out ok, returning to the system.

Is this the source you are using (CODE may also be "CODE SECTION")?  Everything else seems ok judging from your console output.

If so, has anyone else had this problem?

Author of the "Go" tools (GoAsm, GoLink, GoRC, GoBug)

1rDirEctoALgran0

I made a version of "nothing.asm" (attached file).
And it works well with XP SP2...


Patrick


[attachment deleted by admin]

gonpublic

 :P Thank you both for your answers.  I copied the program files and the nothing.asm program to my computer at home and
tested fine.  I guess something must be running in our computers at work that doesn't allow the final compiled assembly program
to run properly and gives that nasty Micro$oft message.  I'll have to program at home instead of work as I had planned. 

donkey

Well, intellectual property laws being what they are, depending on where you live, in absence of an agreement otherwise anything you do at work belongs to the company you are working for so generally it is always better to do your hobby programming at home. Never know when you might have the next big thing pop into your head, no sense just giving it away. I participate in the boards at work occasionally but I do not upload any code or examples while at work nor do I even have a copy of GoAsm there, I keep the two separate and have a written agreement with the company I work for to protect my copyrights.
"Ahhh, what an awful dream. Ones and zeroes everywhere...[shudder] and I thought I saw a two." -- Bender
"It was just a dream, Bender. There's no such thing as two". -- Fry
-- Futurama

Donkey's Stable

Vortex

Hi Edgar,

You are right, it's much more safe to do hobby programming at home. Which programming language you are using at work? ( asking just from curiousity )

donkey

Hi Vortex,

I am not a professional programmer, that is I do not program for a living.

Edgar
"Ahhh, what an awful dream. Ones and zeroes everywhere...[shudder] and I thought I saw a two." -- Bender
"It was just a dream, Bender. There's no such thing as two". -- Fry
-- Futurama

Donkey's Stable

Mark Jones

"To deny our impulses... foolish; to revel in them, chaos." MCJ 2003.08