The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: guiman on October 21, 2009, 11:51:44 AM

Title: masm32 in win 7
Post by: guiman on October 21, 2009, 11:51:44 AM
Hi,

I've just downloaded and installed masm32 on windows 7, and I encountered a problem:
I've copied - pasted the first sample in the tutorial (the one in the console folder) and I tried to run it; I assembled it and linked it, this worked fine, but when i run the .exe file generated, it crashes (I got a dialog from the OS with  "program.exe has stopped working... " ).

Do you have any idea what the problem could be?

Thanks,
Claudiu Guiman
Title: Re: masm32 in win 7
Post by: Vortex on October 21, 2009, 05:18:27 PM
Hi Claudiu,

Welcome to the forum. Could you try to build and test another Masm32 example?
Title: Re: masm32 in win 7
Post by: jj2007 on October 21, 2009, 06:02:23 PM
Quote from: guiman on October 21, 2009, 11:51:44 AM
the one in the console folder

Try to be a bit more specific, that will increase your chances to get answers.

\masm32\examples\exampl07\console\hello
\masm32\examples\exampl07\console\hashapp
\masm32\examples\exampl07\console\stripcc
D:\masm32\tutorial\console\demo1
D:\masm32\tutorial\console\demo2
D:\masm32\tutorial\console\demo5
D:\masm32\tutorial\console\demo4
D:\masm32\tutorial\console\demo3
D:\masm32\tutorial\console\demo7
D:\masm32\tutorial\console\demo6
Title: Re: masm32 in win 7
Post by: hutch-- on October 22, 2009, 12:19:29 AM
It sounds like a privelige issue, make sure you have enough administrative rigts to run an application that is not "managed" code.
Title: Re: masm32 in win 7
Post by: GregL on October 22, 2009, 02:22:10 AM
guiman,

The program named hello.asm at C:\masm32\tutorial\console\demo1 builds fine and runs fine here, I'm running Windows 7. Must be a copy and/or paste error.

Title: Re: masm32 in win 7
Post by: guiman on October 22, 2009, 05:26:19 AM
I've found the probleme... it had to do with the copy-paste. I'm sorry for wasting your time with stupid questions :).

Thank you,
Claudiu Guiman
Title: Re: masm32 in win 7
Post by: hutch-- on October 22, 2009, 05:29:40 AM
No problems Claudiu, I have made silly mistakes that would make you laugh. Let us know how you go with MASM32 on Win 7.