Solved

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

Posted on 2009-03-31
2
619 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

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

Our Group Policy work started with Small Business Server in 2000. Microsoft gave us an excellent OU and GPO model in subsequent SBS editions that utilized WMI filters, OU linking, and VBS scripts. These are some of experiences plus our spending a lo…
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup". After a while, you have entered a loop for Auto repair which does not fix anything and you will be in a  panic as all your work w…
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

746 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now