Can I use COM objects from a .NET Framework program?
Submitted by: AdministratorYes. Any COM component you have deployed today can be used from managed code, and in common cases the adaptation is totally automatic.
Specifically, COM components are accessed from the .NET Framework by use of a runtime callable wrapper (RCW). This wrapper turns the COM interfaces exposed by the COM component into .NET Framework-compatible interfaces. For OLE automation interfaces, the RCW can be generated automatically from a type library. For non-OLE automation interfaces, a developer may write a custom RCW and manually map the types exposed by the COM interface to .NET Framework-compatible types.
Submitted by: Administrator
Specifically, COM components are accessed from the .NET Framework by use of a runtime callable wrapper (RCW). This wrapper turns the COM interfaces exposed by the COM component into .NET Framework-compatible interfaces. For OLE automation interfaces, the RCW can be generated automatically from a type library. For non-OLE automation interfaces, a developer may write a custom RCW and manually map the types exposed by the COM interface to .NET Framework-compatible types.
Submitted by: Administrator
Read Online ASP Programming Job Interview Questions And Answers
Top ASP Programming Questions
☺ | What is the difference between Querystring collection and Form collection? |
☺ | What is application Object in ASP? |
☺ | Should user input data validation occur server-side or client-side? Why? |
☺ | Where is the value-type variables allocated in the computer RAM? |
☺ | What is the difference between Server.Transfer and Response.Redirect? Why would I choose one over the other? |
Top Dot Net Technologies Categories
☺ | MSF Interview Questions. |
☺ | .Net Architecture Interview Questions. |
☺ | ASP.Net MVC Interview Questions. |
☺ | Entity Framework Interview Questions. |
☺ | C# (Sharp) Programming Language Interview Questions. |