Meta-data in executable?

This is a discussion on Meta-data in executable? within the Windows Programming forums, part of the Platform Specific Boards category; How do you put meta-data into an executable like author and such. You usually see it on some programs in ...

  1. #1
    myNegReal
    Join Date
    Jun 2005
    Posts
    100

    Meta-data in executable?

    How do you put meta-data into an executable like author and such. You usually see it on some programs in Windows, under the filename in gray. Anyone know how you do this?
    Using Dev-C++ on Windows

  2. #2
    Yes, my avatar is stolen anonytmouse's Avatar
    Join Date
    Dec 2002
    Posts
    2,544
    VERSIONINFO Resource

    Here is an example:
    Code:
    VS_VERSION_INFO VERSIONINFO
    FILEVERSION    1,0,0,0
    PRODUCTVERSION 1,0,0,0
    FILEOS         VOS_NT
    FILETYPE       VFT_APP
    {
    BLOCK "StringFileInfo"
    {
    	BLOCK "040904B0"
    	{
    		VALUE "CompanyName", "Rock Bottom Corp."
    		VALUE "FileDescription", "Weather Control Application"
    		VALUE "FileVersion", "1.0.0.0"
    		VALUE "InternalName", "WeatherControl.exe"
    		VALUE "LegalCopyright", "Free Software. Not for commercial distribution."
    		VALUE "OriginalFilename", "WeatherControl.exe"
    		VALUE "ProductName", "Weather Control"
    		VALUE "ProductVersion", "1.0.0.0"
    		VALUE "Comments", "This program will control the weather. Caution: Lightning may be dangerous."
    	}
    }
    }

  3. #3
    myNegReal
    Join Date
    Jun 2005
    Posts
    100
    Ah, I see that's pretty easy thanks
    Using Dev-C++ on Windows

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Lame null append cause buffer to crash
    By cmoo in forum C Programming
    Replies: 8
    Last Post: 12-29-2008, 02:27 AM
  2. Errors
    By Rhidian in forum C Programming
    Replies: 10
    Last Post: 04-04-2005, 12:22 PM
  3. Binary Tree, couple questions
    By scoobasean in forum C Programming
    Replies: 3
    Last Post: 03-12-2005, 08:09 PM
  4. All u wanted to know about data types&more
    By SAMSAM in forum Windows Programming
    Replies: 6
    Last Post: 03-11-2003, 02:22 PM
  5. Replies: 1
    Last Post: 07-31-2002, 11:35 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21