The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: fygr on July 23, 2007, 10:14:53 AM

Title: Resource files and it´s working...
Post by: fygr on July 23, 2007, 10:14:53 AM
I am new in assembler and MASM32 indeed. I just wanted to know how to include the resource file in my project. I have downloaded RS32 (Resource Studio or something like that) and it seems great. But after using a MASM32 a little and playing those sample files in folders/sources what came with the installer, I do not find any text of those .RC and also link to that .RC file what is inside of the same folder. And wanted to know how to import my own resource .RC file into the source of .ASM file to Asm&Link my project? . Like the OLDSTYLE.ASM example in the examples foulder have RSRC.RC resource file in it. But the source of OLDSTYLE.ASM seems to have no information of that kind of resourse at all.... ??

Thnx.
Title: Re: Resource files and it´s working...
Post by: ramguru on July 23, 2007, 10:31:07 AM
You don't need to include any resource file in any asm file. BAT file takes care of that. If you rename resource file produced by your resource studio to rsrc.rc, no other modification will be necessary BAT file will search for rsrc.rc if he finds one, it will be compiled by resource compiler and binary data will be linked into executable.
Title: Re: Resource files and it´s working...
Post by: fygr on July 23, 2007, 06:00:17 PM
Thnx, something I was really thinking of, trying to find something in MASM settings without any clue... :)
Title: Re: Resource files and it´s working...
Post by: modchip on July 24, 2007, 05:02:08 AM
You can also try to use WinASM Studio, it already has an integrated resource editor in it. It's really great for newbies. :D
Title: Re: Resource files and it´s working...
Post by: fygr on July 24, 2007, 07:31:36 AM
Hmm. Just for curious, where and what is the .BAT file holding those informations? I have found many basic tutorials, and sample files, but using and setting up MASM settings have quite minor..
Title: Re: Resource files and it´s working...
Post by: ramguru on July 24, 2007, 07:39:42 AM
it's usually C:\masm32\bin\bldall.bat (Build all) and is intended to use with qeditor.