How to idintify a DLL whether it is a normal dll or it is a COM DLL
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
Hi, Can any one help How to identify a DLL whether it is a normal DLL or its a COM DLL, if no documentation is provided. Thanks, Prudhvi
-
Hi, Can any one help How to identify a DLL whether it is a normal DLL or its a COM DLL, if no documentation is provided. Thanks, Prudhvi
Open the DLL inside the Dependency Walker utility (this utility ships with Visual C++ 6.0. If you don't have the utility it can be downloaded from http://www.dependencywalker.com/[^]). If the DLL in question is a COM server, the DLL will export the following functions: DllCanUnloadNow DllGetClassObject DllRegisterServer DllUnregisterServer If these exported functions are not listed, then chances are it's not a COM server. Hope this helps -John