Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 657
  • Last Modified:

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

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
huangs3
Asked:
huangs3
1 Solution
 
MereteCommented:
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
 
huangs3Author Commented:
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now