Need for dll registration???
-
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
-
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
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!
-
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!
Hi Many Thanks Diana :)