Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » Version Tab in .exe properties
icon5.gif  Version Tab in .exe properties [message #29452] Thu, 21 October 2010 15:36 Go to next message
pippo is currently offline  pippo
Messages: 17
Registered: October 2007
Location: Italy
Promising Member
How can I make a "version property" in my .exe file?

Like this (it'is the property box of a VisualBasic6 application):
index.php?t=getfile&id=2906&private=0


Can I make the same with U++?

Thanx,
Andrea


10aa3a8774daeb994a88cc07572e2b6c
Re: Version Tab in .exe properties [message #29480 is a reply to message #29452] Fri, 22 October 2010 16:53 Go to previous message
pippo is currently offline  pippo
Messages: 17
Registered: October 2007
Location: Italy
Promising Member
I answer myself Sad

I must include a .rc file in my project:

#include <WinVer.h>
IDI_ICON1  ICON "icon.ico"

#ifndef DEBUG
#define VER_DEBUG                   0
#else
#define VER_DEBUG                   1
#endif

VS_VERSION_INFO VERSIONINFO
 FILEVERSION 0,3,3
 FILEFLAGSMASK 0x3fL
 FILEFLAGS VER_DEBUG
 FILEOS 0x4L
 FILETYPE 0x1L
 FILESUBTYPE 0x0L
BEGIN
    BLOCK "StringFileInfo"
    BEGIN
        BLOCK "040904E4"
        BEGIN
            VALUE "CompanyName", 	"My company"
            VALUE "LegalCopyright", "Copyright (C) 2010"
            VALUE "OriginalFilename", "pippo.exe"
            VALUE "FileVersion", 	  "0.3.3"
            VALUE "ProductVersion",   "0.3.3"
        END
    END

    BLOCK "VarFileInfo"
    BEGIN
        VALUE "Translation", 0x410, 1200
    END
END


10aa3a8774daeb994a88cc07572e2b6c
Previous Topic: Upp::Sort(begin, end, less) does not compile under MSC8 when less is a plain C function
Next Topic: The makefile of an export NOGTK project dropped an option -lpng
Goto Forum:
  


Current Time: Fri Apr 19 10:55:39 CEST 2024

Total time taken to generate the page: 0.02937 seconds