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. COM Object Registration!

COM Object Registration!

Scheduled Pinned Locked Moved C / C++ / MFC
comsysadminquestion
4 Posts 4 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.
  • S Offline
    S Offline
    sachinjegaonkar
    wrote on last edited by
    #1

    I want to know, after registration of COM server object to windows and if i want to ship that object to other machine, whether that object will carry registration information(e.g. CLSID registered with that object) or not? If it is not carring this information then is another CLSID generated after i installs that object to other machine than the CLSID that of previous machine? If it is true then how windows maintains GLOBAL UNIQUE IDENTIFIER for that COM object.

    N _ T 3 Replies Last reply
    0
    • S sachinjegaonkar

      I want to know, after registration of COM server object to windows and if i want to ship that object to other machine, whether that object will carry registration information(e.g. CLSID registered with that object) or not? If it is not carring this information then is another CLSID generated after i installs that object to other machine than the CLSID that of previous machine? If it is true then how windows maintains GLOBAL UNIQUE IDENTIFIER for that COM object.

      N Offline
      N Offline
      Nibu babu thomas
      wrote on last edited by
      #2

      sachinjegaonkar wrote:

      GLOBAL UNIQUE IDENTIFIER

      Here[^] is some information on this topic.


      Nibu thomas A Developer Code must be written to be read, not by the compiler, but by another human being. http:\\nibuthomas.wordpress.com

      1 Reply Last reply
      0
      • S sachinjegaonkar

        I want to know, after registration of COM server object to windows and if i want to ship that object to other machine, whether that object will carry registration information(e.g. CLSID registered with that object) or not? If it is not carring this information then is another CLSID generated after i installs that object to other machine than the CLSID that of previous machine? If it is true then how windows maintains GLOBAL UNIQUE IDENTIFIER for that COM object.

        _ Offline
        _ Offline
        _AnsHUMAN_
        wrote on last edited by
        #3

        A GUID comprises of information taken from the resources on your machine, however the algorithm for creating GUID's is criticized worldwide for the way it is implemented. Every machine has a network card MAC address. This network cards MAC address provides the basis of creation of GUID. Then the algorithm uses some other details to create a unique ID. The ID is itself not guaranteed to be unique but the probability of two ID's to be same is very low. The CLSID does not change for a object from machine to machine. It remains the same. I hope this helps you.

        Somethings seem HARD to do, until we know how to do them. ;-)_AnShUmAn_

        1 Reply Last reply
        0
        • S sachinjegaonkar

          I want to know, after registration of COM server object to windows and if i want to ship that object to other machine, whether that object will carry registration information(e.g. CLSID registered with that object) or not? If it is not carring this information then is another CLSID generated after i installs that object to other machine than the CLSID that of previous machine? If it is true then how windows maintains GLOBAL UNIQUE IDENTIFIER for that COM object.

          T Offline
          T Offline
          tanvon malik
          wrote on last edited by
          #4

          Hi COM server's CLSIDs are inside them. these CLSIDs are set with the COM server when it is developed. So it is developers work, When any body installs a COM server that CLSID which is embed inside the COM server is written in the registry of the computer where that server is being installed.

          tanvon malik http://www.tanvon.com http://tanvon.wordpress.com http://groups.yahoo.com/group/tanvon http://www.codeproject.com/script/articles/list_articles.asp?userid=1638055

          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