Dynamic version of dll file

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Torben Laursen

    Dynamic version of dll file

    I have a C++ dll and I would like to get the compilor to auto generate a
    version number of the dll that it create just like the C# compiler does.
    Now I set a number in a .rc file but it would be nice if I could just set
    the first 2 number and the compiler could then add the rest like 2.1.3543

    Can anyone tell me how to do this?

    I use VS2008

    Torben

  • Cholo Lennon

    #2
    Re: Dynamic version of dll file

    Torben Laursen wrote:
    I have a C++ dll and I would like to get the compilor to auto
    generate a version number of the dll that it create just like the C#
    compiler does. Now I set a number in a .rc file but it would be nice
    if I could just set the first 2 number and the compiler could then
    add the rest like 2.1.3543
    >
    Can anyone tell me how to do this?
    >
    I use VS2008
    >
    Torben
    The C++ compiler doesn't know anything about version numbering in .rc. You
    should use some IDE add-ins/macros like:




    Regards


    --
    Cholo Lennon
    Bs.As.
    ARG



    Comment

    Working...