Thread: Meta-data in executable?

  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, 03: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, 09: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, 03:22 PM
  5. Replies: 1
    Last Post: 07-31-2002, 11:35 AM