how do you know it is general dll or com dll




Answers were Sorted based on User's Feedback



how do you know it is general dll or com dll..

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

how do you know it is general dll or com dll..

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

how do you know it is general dll or com dll..

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




how do you know it is general dll or com dll..

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

how do you know it is general dll or com dll..

Answer / bijender singh

COM Dll contails IUnknown interface but general DLL doesn't.

Is This Answer Correct ?    2 Yes 4 No

Post New Answer



More COM DCOM Interview Questions

hi,I have applied for NIC test plz if any one have test paper pattrn plz send me on "mn_mayank38@yahoo.co.in"

1 Answers  


how to call a dll as a COM dll?

0 Answers  


How do you make a NET component talk to a COM component?

3 Answers   TCS,


What is a moniker ?

3 Answers  


where can i use pmcmd commands of informatica

1 Answers  






How can would you create an instance of the object in COM

2 Answers  


Explain object pooling?

1 Answers   HCL,


Explain queued components.

2 Answers  


Explain transaction atomicity?

1 Answers  


Write a JCL to copy only selected members from a partitioned data set to another partitioned data set. (Use: IEBCOPY)

1 Answers   Wipro,


Which tool is used to configure the port range and protocols for DCOM communications?

1 Answers  


what is mean by scintific,commercial and business applications? How they differ? Please answer me. Advance thanks.

0 Answers   Excel,






Categories