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. Getting version number of IUnknown interface?

Getting version number of IUnknown interface?

Scheduled Pinned Locked Moved C / C++ / MFC
questiontutorialannouncement
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.
  • J Offline
    J Offline
    Jonathan de Halleux
    wrote on last edited by
    #1

    Here's an example: I get the CLSID of the program using CLSIDFromString, how do I get the version number? Jonathan de Halleux, Belgium.

    L 1 Reply Last reply
    0
    • J Jonathan de Halleux

      Here's an example: I get the CLSID of the program using CLSIDFromString, how do I get the version number? Jonathan de Halleux, Belgium.

      L Offline
      L Offline
      Lakitu
      wrote on last edited by
      #2

      First of all, interfaces don't have version numbers, they are supposed to be immutable. You can get the version of the executable that implements the interface by using the GetFileVersionInfo and related APIs.


      Look! They have the Internet on computers now! (Homer J. Simpson)

      J 1 Reply Last reply
      0
      • L Lakitu

        First of all, interfaces don't have version numbers, they are supposed to be immutable. You can get the version of the executable that implements the interface by using the GetFileVersionInfo and related APIs.


        Look! They have the Internet on computers now! (Homer J. Simpson)

        J Offline
        J Offline
        Jonathan de Halleux
        wrote on last edited by
        #3

        Thks Jonathan de Halleux, Belgium.

        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