how to register dll in COM / COM+ application

Answers were Sorted based on User's Feedback



how to register dll in COM / COM+ application..

Answer / lalan

You can no longer install COM+ DLLs into the System32 folder
on the server. In Windows 2003 server and beyond (including
Windows 7) when exporting COM+ package any DLLs registered
in Windows\System32 (or folders below that) will not be
exported. According to Microsoft Support, this is by design.
(This information has not been published publicly by
Microsoft, so we had to open a ticket with them to discover
the issue.)

The symptoms are that the exported MSI files do not contain
the COM+ DLLs if:
1. the COM+ DLL is registered in System32 and
2. the COM+ package is exported on Windows 2003 or later.
The MSI will be created and will install, however the
applications will not be able to instantiate the objects
because the DLL was never installed. Opening the MSI with a
install editor like Wise Installation Editor will reveal
that the DLL is not included in the MSI.

Is This Answer Correct ?    0 Yes 0 No

how to register dll in COM / COM+ application..

Answer / Sunny Devkumar Singh

To register a DLL (Dynamic Link Library) in a COM/COM+ application, you can use the Regsvr32 command-line utility. Here are the general steps:n
1. Open Command Prompt as an administrator.
2. Navigate to the directory containing the DLL file.
3. Type `regsvr32 [DLL_file_name]` and press Enter.
4. Click 'OK' on the dialog box that appears, indicating whether the registration was successful or not.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More COM+ Interview Questions

Explain integrity ?

1 Answers  


Explain object pooling?

1 Answers  


Define durability?

1 Answers  


Define jit activation?

1 Answers  


What is transaction atomicity?

1 Answers  


Explain how does you handle this com components developed in other programming languages in .net?

1 Answers  


Explain the new three features of com+ services, which are not there in com (mts)?

1 Answers  


What is the difference between com architecture and .net architecture?

1 Answers  


What are loosely coupled events?

1 Answers  


Define object pooling?

1 Answers  


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

1 Answers  


Are com components serializable?

2 Answers   Microsoft,


Categories