News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

EXE properties?

Started by Bieb, January 19, 2005, 08:42:56 PM

Previous topic - Next topic

Bieb

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.)

jimh

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
    }
}

Bieb

Never mind, I found it.  It's in EasyCode's version item under the project explorer.

Ramon Sala

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
Greetings from Catalonia