The MASM Forum Archive 2004 to 2012

Project Support Forums => IDE Development and Support => Easy Code => Topic started by: Hades on June 22, 2005, 07:10:48 PM

Title: Compiling something as a binfile in Easy Code
Post by: Hades on June 22, 2005, 07:10:48 PM
Ok, I've seen examples of how to do it in masm32 without an IDE. But I can't figure it out in Easy Code. Basically all you are suppost to have to do is add this to your resource file:

ID_BINFILE      BINFILE         "<progname>.exe"

But, You can't edit the resource files that Easy Code makes because he seems to restore the original right after you save and close. Hmpft, I'm stumped. Any help would be nice. Oh... And don't assume i'm doing this for bad reasons. I'm making a UPX Gui in Easy Code and would like to compile UPX into my GUI.
Title: Re: Compiling something as a binfile in Easy Code
Post by: Ramon Sala on June 22, 2005, 07:20:58 PM
Hi Hades,

To add binary data you should add it to project by using the Raw Data resource (Resources Node in the Project explorer). After open the Raw Data window, push the Add button, enter an ID and then the file you want to include in the resources of your application. The specified file will be copied to Res directory.

Ramon
Title: Re: Compiling something as a binfile in Easy Code
Post by: Hades on June 22, 2005, 07:22:43 PM
Thanks, I figured it was something within the IDE. I'll s test this

Edit:
worked perfectly, thanks much Ramon :)