how do you know it is general dll or com dll
Answers were Sorted based on User's Feedback
Answer / chandrasekharreddy siddamreddy
Open the dll in dependency walker application
(depends.exe). If the dll is having following functions
DLLRegisterServer
DLLUnRegisterServer
DLLCanUnloadNow
DLLGetClassObject
It is a COM DLL otherwise it is not.
| Is This Answer Correct ? | 13 Yes | 1 No |
Answer / virat sarswat
Checking above listed four function is a option. Another
one is just try to egister dll using "Regsvr32" if it's a
com dll it will register otherwise it will prompt error for
entry point.
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / techy break
second answer is correct, checking dll not means, checking
in source code.So IUnKnowns pointer checking no
possible.Simply check using dependancy walker as in 2
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / sandeep mishra
COM DLLs export above listed 4 functions and it's mandatory
for any DLL to be qualified as a COM DLL.
Where in regular DLLs we get a list of exported functions
which from client application we will invoke.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / bijender singh
COM Dll contails IUnknown interface but general DLL doesn't.
| Is This Answer Correct ? | 2 Yes | 4 No |
Which tool is used to configure the port range and protocols for DCOM communications?
Can I use .net components from com programs?
Is dcom dead?
Define and explain COM?
Explain object pooling?
Suppose we have object b and aggregated object c (in- proc server), created by b. Can you access any interface of b from c? What?s the difference between aggregated and contained objects?
C is aggregated by B, which in turn aggregated by A. Our client requested C. What will happen?
What happens when client calls CoCreateInstance?
What kind of components can be used as DCOM servers?
What is the difference between aggregated and contained objects?
how to call a dll as a COM dll?
Can you explain what is dcom?