Solved

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

Posted on 2009-03-31
2
624 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
An article on effective troubleshooting
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.
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

733 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