Solved

Can I use CLSID or InterfaceID in Component Service to compare the DLL files?

Posted on 2009-03-31
2
622 Views
Last Modified: 2013-12-28
Hi Experts:

    I have a VB6 project producing a DLL file, I made a compilation (with my windows XP desktop), deployed it locally (by drag-and-drop it to the components of a COM+ Application in "Component Services"), and tested it. In "Component Services" I can see the CLSID of each classes in the DLL and their InterfaceID.

    I will deploy this DLL to a NT4 server. If in far future I want to make sure whether I deploy the right DLL to the NT4 server, can I do it by comparing the my local CLSID/InterfaceID with those in Nt4 server?

    Following is what I want to know:
1. would the CLSID/InterfaceID be the same if the DLL is identical?
2. would different CLSID/InterfaceID indicate different DLLs?
3. if the answer of both 1 and 2 are "no", then is there any method I can do the checking?
4. if the answer for any of  1 and 2 is "no", then how is CLSID and InterfaceID generated?

    Thank you!

Sui
   
0
Comment
Question by:huangs3
2 Comments
 
LVL 70

Expert Comment

by:Merete
ID: 24074839
To offer you a workaround
What about process explorer
Process Explorer, also known as procexp.exe, shows you information about which handles and DLLs processes have opened or loaded.
http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx
0
 

Accepted Solution

by:
huangs3 earned 0 total points
ID: 24407576
Hi Merete:

    Thank you for introducing the new tool to me, but it wouldn't be a walk around to my problem, because it does not provide a way to check the vesion of the exe/dll (different versions may have the same name).
    The version number inside wouldn't help, because a VB project can be compiled with same version even though it has been changed.
    I am going to close this question because there may not be a solution.
    Thank you!
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Recently Microsoft released a brand new function called CONCAT. It's supposed to replace its predecessor CONCATENATE. But how does it work? And what's new? In this article, we take a closer look at all of this - we even included an exercise file for…
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question