The MASM Forum Archive 2004 to 2012

Project Support Forums => IDE Development and Support => Easy Code => Topic started by: Bieb on January 19, 2005, 08:42:56 PM

Title: EXE properties?
Post by: Bieb on January 19, 2005, 08:42:56 PM
Is there a way to change the little thing under the name of EXE's to say anything other than Easy Code visual project?  What about the other EXE properties?(Copyright, etc.)
Title: Re: EXE properties?
Post by: jimh on January 19, 2005, 10:30:19 PM
I admit I don't know much about Easy Code, but if you're wanting to add company, version, and/or copyright information to your application (for example the Version tab in your .exe's properties from explorer) then you need to add a VERSIONINFO resource to your application resource file.


#define APP_VERSION_INFO    1     // {{ define at the top your .RC file }}

// example version resource
APP_VERSION_INFO VERSIONINFO
    FILEVERSION 1,1,0,0
    PRODUCTVERSION 1,1,0,0
    FILEFLAGSMASK 0x17L
    FILEFLAGS 0x0L
    FILEOS 0x4L
    FILETYPE 0x1L
    FILESUBTYPE 0x0L
{
    BLOCK "StringFileInfo"
    {
        BLOCK "040904b0"
        {
            VALUE "CompanyName", "My Company"
            VALUE "FileDescription", "Application description"
            VALUE "FileVersion", "1.1.0"
            VALUE "InternalName", "Internal application name"
            VALUE "LegalCopyright", "Copyright © Me."
            VALUE "OriginalFilename", "filename.exe"
        }
    }
    BLOCK "VarFileInfo"
    {
        VALUE "Translation", 0x409, 1200
    }
}
Title: Re: EXE properties?
Post by: Bieb on January 19, 2005, 11:00:16 PM
Never mind, I found it.  It's in EasyCode's version item under the project explorer.
Title: Re: EXE properties?
Post by: Ramon Sala on January 19, 2005, 11:40:16 PM
Hi Bieb,

When you create a new project (visual or not) a Version resource is always added by default. So, open Resources node (inside the Project explorer), and double click on the Version resource. A dialog box will appear and there you can add/modify anything you like. If you deleted the Version resource in your project, you can add it again using the menu option: Project-->Add Resource-->Version.

Regards,

Ramon