Answer Posted / sunil choubey
COM DLL has to implement at least IUnknown inteface, however this is not the restriction of regulare DLL.
You have to register COM DLL by using regsvr32 utility, and its information is store in windows registry, this is not in case of normal DLL.
You have to put normal dll in path or current directory, but not in case of COM DLL.
You can use COM DLL in any language, but if you want to do it with normal dll then you have to export plan function, this should not be Object Oriented. If you try to export classes from normal DLL or make MFC extension then you cant use it in VB and scripting language like VB Script.
By making COM DLL you have to export its interface and write it in IDL file and in case of normal DLL you do it either in DEF file or using _declspec(export) with function or class name.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is the use of com component in .net?
What is the difference between aggregated and contained objects?
What are queued components?
Define and explain about COM?
Which namespace do the classes, allowing you to support COM functionality, are located?
Can I use com components from .net programs?
How to create an instance of the object in COM?
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 is dcom?
Once I have developed the com wrapper do I have to still register the com in registry?
How do we create dcom object in vb6?
Does .net replace com?
Can you explain what is dcom?
how to call a dll as a COM dll?
What is reference counting in com?