how to call a dll as a COM dll?



how to call a dll as a COM dll?..

Answer / Alka Chauhan

To create a COM DLL (Dynamic Link Library) from an existing DLL, you need to register the DLL with the Windows registry using the Regsvr32.exe command-line utility. This registration process adds an entry in the system's registry, including the CLSID, ProgID, and IID for the exposed interfaces. Once registered, other applications can use the COM DLL as they would any other COM object.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More COM DCOM Interview Questions

Define and explain COM?

8 Answers   Microsoft,


Does .net replace com?

1 Answers  


Is dcom dead?

1 Answers  


When you call CoInitialize(NULL) function how it works internally.

8 Answers  


What is IUnknown? What methods are provided by IUnknown?

3 Answers   IBM,


Do COM keep track of all the object references(Accounting)?

3 Answers   Microsoft,


What is a moniker ?

3 Answers  


Which namespace do the classes, allowing you to support COM functionality, are located?

1 Answers  


What is dcom?

1 Answers  


Can you explain what is dcom?

1 Answers  


What are queued components?

1 Answers  


Suppose we have object B and aggregated object C (in- proc server), created by B. Can you access any interface of B from C?

1 Answers  


Categories