Solved

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

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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Suggested Solutions

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…
How to record audio from input sources to your PC – connected devices, connected preamp to record vinyl discs, streaming media, that play through your audio card: Vista, Windows 7, Windows 8, Windows 8.1 and Windows 10 – both 32 bit & 64.
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
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…

867 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

20 Experts available now in Live!

Get 1:1 Help Now