No Version info tab in file properties?

This is a discussion on No Version info tab in file properties? within the Windows Programming forums, part of the Platform Specific Boards category; Hi, I have a DLL project in VC++ 6.0 that currently doesn't have a Version tab in the properties of ...

  1. #1
    and the hat of sweating
    Join Date
    Aug 2007
    Location
    Toronto, ON
    Posts
    3,545

    No Version info tab in file properties?

    Hi,
    I have a DLL project in VC++ 6.0 that currently doesn't have a Version tab in the properties of the DLL it builds.
    I've never added version info to a project myself, only edited the version settings that were already there, so I added this to the .rc file just to see if it would add the Version tab, but it didn't work:
    Code:
    #include "winres.h"
     
    LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
    #pragma code_page(1252)
     
    /////////////////////////////////////////////////////////////////////////////
    //
    // Version
    //
     
    VS_VERSION_INFO VERSIONINFO
     FILEVERSION 1,0,0,3
     PRODUCTVERSION 1,0,0,3
     FILEFLAGSMASK 0x3fL
    #ifdef _DEBUG
     FILEFLAGS 0x1L
    #else
     FILEFLAGS 0x0L
    #endif
     FILEOS 0x4L
     FILETYPE 0x2L
     FILESUBTYPE 0x0L
    BEGIN
        BLOCK "StringFileInfo"
        BEGIN
            BLOCK "040904b0"
            BEGIN
                VALUE "Comments", "Your comments\0"
                VALUE "CompanyName", "ABC Corporation\0"
                VALUE "FileDescription", "Your description\0"
                VALUE "FileVersion", "1, 0, 0, 3\0"
                VALUE "InternalName", "Your internal dll name\0"
                VALUE "LegalCopyright", "Copyright 2001 ABC Corporation\0"
                VALUE "LegalTrademarks", "Your legal trademark\0"
                VALUE "OLESelfRegister", "Info 1\0"
                VALUE "OriginalFilename", "Your original DLL name\0"
                VALUE "PrivateBuild", "Your private build version\0"
                VALUE "ProductName", "Your product name\0"
                VALUE "ProductVersion", "1, 0, 0, 3\0"
                VALUE "SpecialBuild", "Your spec. build descr.\0"
            END
        END
        BLOCK "VarFileInfo"
        BEGIN
            VALUE "Translation", 0x409, 1200
        END
    END
    What do I need to do to add Version info to a DLL project in VC++ 6.0?

  2. #2
    Unregistered User Yarin's Avatar
    Join Date
    Jul 2007
    Posts
    1,668
    You should be able to do that through the settings with ease.
    A class that doesn't overload all operators just isn't finished yet. -- SmugCeePlusPlusWeenie
    A year spent in artificial intelligence is enough to make one believe in God. -- Alan J. Perlis

  3. #3
    and the hat of sweating
    Join Date
    Aug 2007
    Location
    Toronto, ON
    Posts
    3,545
    Quote Originally Posted by Yarin View Post
    You should be able to do that through the settings with ease.
    Yeah, you'd think so...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need Help Fixing My C Program. Deals with File I/O
    By Matus in forum C Programming
    Replies: 7
    Last Post: 04-29-2008, 07:51 PM
  2. Dikumud
    By maxorator in forum C++ Programming
    Replies: 1
    Last Post: 10-01-2005, 06:39 AM
  3. Possible circular definition with singleton objects
    By techrolla in forum C++ Programming
    Replies: 3
    Last Post: 12-26-2004, 09:46 AM
  4. simulate Grep command in Unix using C
    By laxmi in forum C Programming
    Replies: 6
    Last Post: 05-10-2002, 04:10 PM
  5. Version info and ListBox
    By GaPe in forum Windows Programming
    Replies: 10
    Last Post: 03-27-2002, 11:08 PM

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