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