Executable Info (version, company name, etc)

This is a discussion on Executable Info (version, company name, etc) within the C++ Programming forums, part of the General Programming Boards category; I've been writing a few programs, I plan on freely distributing one, and I'd like to put my info in ...

  1. #1
    Registered User Erebus's Avatar
    Join Date
    Sep 2005
    Posts
    10

    Cool Executable Info (version, company name, etc)

    I've been writing a few programs, I plan on freely distributing one, and I'd like to put my info in it. I've seen .exes with gray text under the name of the file, with the author's name or company, and more information when you look in its properties.

    How is this done?

  2. #2
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,046
    It's probably a Windows function. I don't know which.
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  3. #3
    Registered User Queatrix's Avatar
    Join Date
    Apr 2005
    Posts
    1,342
    You can do that with a resource file:
    Code:
    1 VERSIONINFO
    FILEVERSION 0, 0, 0, 0
    PRODUCTVERSION 0, 0, 0, 0
    FILEOS 0x4004L
    FILETYPE 0x01L
    BEGIN
     BLOCK "StringFileInfo"
     BEGIN
      BLOCK "040904E4"
      BEGIN
       VALUE "FileDescription", " \000"
       VALUE "FileVersion", " \000"
       VALUE "LegalCopyright", " \00"
    
      END
     END
    END

  4. #4
    Registered User Erebus's Avatar
    Join Date
    Sep 2005
    Posts
    10
    Haha, thanks for the replies, but it was really simple, and I should have looked closer before posting. I'm using Dev-CPP, I just had to go to:
    Project->Project Options->Version Info tab.


Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Program version info - how to fill in
    By ulillillia in forum Windows Programming
    Replies: 17
    Last Post: 04-23-2007, 02:22 AM
  2. How to set File Version of VC++ 6 dll
    By mercury529 in forum Windows Programming
    Replies: 3
    Last Post: 12-08-2006, 01:49 PM
  3. CreateProcess with Resource of executable, not the Filename
    By Ktulu in forum Windows Programming
    Replies: 4
    Last Post: 11-04-2006, 12:07 AM
  4. Version info and ListBox
    By GaPe in forum Windows Programming
    Replies: 10
    Last Post: 03-27-2002, 11:08 PM
  5. WinXP 64-bit version info
    By Witch_King in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 08-16-2001, 03:16 AM

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