how to register dll in COM / COM+ application
Answers were Sorted based on User's Feedback
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 |
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 |
Explain integrity ?
Explain object pooling?
Define durability?
Define jit activation?
What is transaction atomicity?
Explain how does you handle this com components developed in other programming languages in .net?
Explain the new three features of com+ services, which are not there in com (mts)?
What is the difference between com architecture and .net architecture?
What are loosely coupled events?
Define object pooling?
How do you make a NET component talk to a COM component?
Are com components serializable?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)