The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: v0x on May 30, 2006, 03:40:54 AM

Title: Need help - could not open rsrc.rc
Post by: v0x on May 30, 2006, 03:40:54 AM
Hi,
     I found a book about assembly. This is my very first attempt in asm and i wanted to use MASM32. I just open the DEMO1 provided in your package and when I compile it it says:

http://www.geocities.com/voacrew/error.JPG

Could you help me to solve that problem? I really want to begin practicing asm! :)

Thank you.
Title: Re: Need help - could not open rsrc.rc
Post by: hutch-- on May 30, 2006, 04:08:13 AM
Hi v0x,

Welcome on board. The example you tried to build does not have a resource file. Just look at the top of the source file for this info,

Quote
;                 Build this with the "Project" menu using
;                       "Console Assemble and Link"

Do this and it will build OK.
Title: Re: Need help - could not open rsrc.rc
Post by: v0x on May 30, 2006, 04:35:48 AM
hello.exe :)

hey thank you ! :)

Do you have any good ressource for a beginner? I am competent at C but i've never done asm before. Do you have something up to date that would be good tutorial ? :)

Thx again hutch!

v0xy
Title: Re: Need help - could not open rsrc.rc
Post by: v0x on May 30, 2006, 04:39:58 AM
lilttle quesiton again, about this program.
when i run it from ms dos using hello.exe it shows nothing to stdout.
however if i redirect the flow to a .txt using like: hello.ex >> lol.txt
i can see the "Hey, this actually works."
which comes from
; «««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««

start:                          ; The CODE entry point to the program

    print chr$("Hey, this actually works.",13,10)
    exit

; «««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««

How come there's nothing print on the screen using the first method ?
Title: Re: Need help - could not open rsrc.rc
Post by: hutch-- on May 30, 2006, 05:15:23 AM
Sounds like you build it as gui rather than console mode. It must be built as a console mode app to show any output.
Title: Re: Need help - could not open rsrc.rc
Post by: v0x on May 30, 2006, 05:23:01 AM
working just fine! there was other options in Project.
:thumbu :thumbu

Do you have any good ressource for a beginner? I am competent at C but i've never done asm before. Do you have something up to date that would be good tutorial ? :)

thx again,
v0x
Title: Re: Need help - could not open rsrc.rc
Post by: Ossa on May 30, 2006, 07:38:29 AM
Have you had a look at Iczelion's tutorials - they are aimed at people like yourself who have come from HLLs: http://win32assembly.online.fr/

Ossa
Title: Re: Need help - could not open rsrc.rc
Post by: v0x on May 30, 2006, 04:19:44 PM
I've now finished to read the first tutorial thanks man !