Page 1 of 1

Application Meta Data

Posted: Mon Oct 05, 2009 8:48 am
by Rathinagiri
We can see many applications having Meta Data like Company, File Version, Internal Name, Language, Original File Name, Product Name, Product Version, Description, Copyright etc when we right click and see the properties.

I wish to enter these meta data in HMG applications.

Are these facilities already in place?

Re: Application Meta Data

Posted: Mon Oct 05, 2009 9:42 am
by mol
Good idea!

Re: Application Meta Data

Posted: Mon Oct 05, 2009 10:14 am
by gfilatov
rathinagiri wrote:...
Are these facilities already in place?
Hi,

Yes, it is. :!:
Simply add/adapt to your application.RC file the following lines:
1 VERSIONINFO
FILEVERSION 1,0,0,0
PRODUCTVERSION 1,0,0,0
FILEOS 0x4
FILETYPE 0x1
{
BLOCK "StringFileInfo"
{
BLOCK "040904b0"
{
VALUE "FileDescription", "Application Description\000"
VALUE "FileVersion", "1.0.0.0"
VALUE "InternalName", "Application Name\000"
VALUE "LegalCopyright", "My Copyright\000"
VALUE "LegalTrademarks", "Harbour"
VALUE "OriginalFilename", "AppName.exe"
VALUE "CompanyName", ""
VALUE "ProductName", "MiniGUI Utility"
VALUE "ProductVersion", "1.0.0.0"
VALUE "Comments", "Created by author\000"
}
}

BLOCK "VarFileInfo"
{
VALUE "Translation", 0x0409 0x04B0
}
}
and take a look for changes of the properties at the right mouse click :idea:

Re: Application Meta Data

Posted: Mon Oct 05, 2009 12:42 pm
by sudip
Thanks a lot Grigory :)
With best regards.
Sudip

Re: Application Meta Data

Posted: Mon Oct 05, 2009 12:44 pm
by Rathinagiri
Oh! Thanks a lot Grigory Filatov. I will try and revert back. :)

Re: Application Meta Data

Posted: Tue Oct 06, 2009 5:34 am
by mol
I've tried it in my resources, but doesn't work!
What's going on?

Re: Application Meta Data

Posted: Tue Oct 06, 2009 9:29 am
by gfilatov
mol wrote:I've tried it in my resources, but doesn't work!
What's going on?
Hi,

I confirm this problem with MinGW resource manager also :o

BTW I've got the following result by using freeware utility ResHaker 3.4.0.79 at http://angusj.com/resourcehacker (look at attached sample).
;)

Re: Application Meta Data

Posted: Tue Oct 06, 2009 12:15 pm
by sudip
Hello Grigory,
Thanks a lot for ResHacker :)
I downloaded it an tested with your sent example.
With best regards.
Sudip

Application Meta Data

Posted: Mon Jun 09, 2014 2:22 pm
by Pablo César
I've got good results with this http://hmgforum.com/viewtopic.php?p=34935#p34935