Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Chang Dll Version

Chang Dll Version

Scheduled Pinned Locked Moved C / C++ / MFC
questionannouncement
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    Tony Li
    wrote on last edited by
    #1

    There is a WIN32 function GetFileVersionInfo to get file version information. Is there a "SetFileVersionInfo" or similiar WIN32 function to change the version information?

    L 1 Reply Last reply
    0
    • T Tony Li

      There is a WIN32 function GetFileVersionInfo to get file version information. Is there a "SetFileVersionInfo" or similiar WIN32 function to change the version information?

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Up to my knowledge, this information is stored in the DLL as a resource! So you can change it at design time from within your compiler! What do you mean changing the value at runtime? In memory only or do you want the chage to be permenant?! :((

      T 1 Reply Last reply
      0
      • L Lost User

        Up to my knowledge, this information is stored in the DLL as a resource! So you can change it at design time from within your compiler! What do you mean changing the value at runtime? In memory only or do you want the chage to be permenant?! :((

        T Offline
        T Offline
        Tony Li
        wrote on last edited by
        #3

        I know UpdateResource can be used to make the change. Do you know if there is an example showing how to change version information permanently using this function? In MSDN, there are some links about how to change dialog resource and string table resource using the function. But I didn't find anything about version. Thanks.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups