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. COM
  4. Need for dll registration???

Need for dll registration???

Scheduled Pinned Locked Moved COM
question
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.
  • D Offline
    D Offline
    Diana Fernandez
    wrote on last edited by
    #1

    Hi Why do we register dlls? What is happening while registering a dll? Which are the dlls to be registered? Can anyone give me a link which expalins all these questions? Thanks in advance

    R 1 Reply Last reply
    0
    • D Diana Fernandez

      Hi Why do we register dlls? What is happening while registering a dll? Which are the dlls to be registered? Can anyone give me a link which expalins all these questions? Thanks in advance

      R Offline
      R Offline
      Roger Stoltz
      wrote on last edited by
      #2

      Diana Fernandez wrote:

      Why do we register dlls? What is happening while registering a dll?

      "Registering" a dll usually means calling a certain function inside the dll by the name of 'DllRegisterServer'. COM servers could be contained in dlls and the 'DllRegisterServer' function is responsible for creating the register keys and values that are related to the server in question. Those keys and values are ProgID, ClassID, TypeLibID, interface IDs, threading model, proxy/stub and so on.

      Diana Fernandez wrote:

      Which are the dlls to be registered?

      All dlls that needs to be registered. ;) Seriously, the install program takes care of this when you purchase a product. If you are the developer you have to know whether your dll needs to be registered or not. Basically you can say "if 'DllRegisterServer' can be found in the dll it should be registered to be safe". If you're asking for a list of dlls that are supposed to be registered I can tell you that there is no such thing. Dlls that require registring are developed each day by developers all over the world. There is no "book keeping" of all these dlls. Hope this helps -- Roger


      It's supposed to be hard, otherwise anybody could do it!

      D 1 Reply Last reply
      0
      • R Roger Stoltz

        Diana Fernandez wrote:

        Why do we register dlls? What is happening while registering a dll?

        "Registering" a dll usually means calling a certain function inside the dll by the name of 'DllRegisterServer'. COM servers could be contained in dlls and the 'DllRegisterServer' function is responsible for creating the register keys and values that are related to the server in question. Those keys and values are ProgID, ClassID, TypeLibID, interface IDs, threading model, proxy/stub and so on.

        Diana Fernandez wrote:

        Which are the dlls to be registered?

        All dlls that needs to be registered. ;) Seriously, the install program takes care of this when you purchase a product. If you are the developer you have to know whether your dll needs to be registered or not. Basically you can say "if 'DllRegisterServer' can be found in the dll it should be registered to be safe". If you're asking for a list of dlls that are supposed to be registered I can tell you that there is no such thing. Dlls that require registring are developed each day by developers all over the world. There is no "book keeping" of all these dlls. Hope this helps -- Roger


        It's supposed to be hard, otherwise anybody could do it!

        D Offline
        D Offline
        Diana Fernandez
        wrote on last edited by
        #3

        Hi Many Thanks Diana :)

        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