Logo 
Search:

Interview FAQs

Submit Interview FAQ
Home » Interview FAQsRSS Feeds
.Net Framework
Comments: 0

How do I spawn a thread?

Create an instance of a System.Threading.Thread object, passing it an instance of a ThreadStart delegate that will be executed on the new thread. For example:

class MyThread
{
public MyThread( string initData )
{
...
Posted By:Felicia Hill      Posted On: Mar 02

.Net Framework
Comments: 0

Can I use COM components from .NET programs?

Yes. COM components are accessed from the .NET runtime via a Runtime Callable Wrapper (RCW). This wrapper turns the COM interfaces exposed by the COM component into .NET-compatible interfaces. For oleautomation interfaces, the RCW can be generated au...
Posted By:Orville Rodriguez      Posted On: Sep 21

.Net Framework
Comments: 0

Can I use .NET components from COM programs?

Yes. .NET components are accessed from COM via a COM Callable Wrapper (CCW). This is similar to a RCW (see previous question), but works in the opposite direction. Again, if the wrapper cannot be automatically generated by the .NET development tools,...
Posted By:Bonifaco Garcia      Posted On: Dec 15

.Net Framework
Comments: 0

Is DCOM dead?

Pretty much, for .NET developers. The .NET Framework has a new remoting model which is not based on DCOM. DCOM was pretty much dead anyway, once firewalls became widespread and Microsoft got SOAP fever. Of course DCOM will still be used in interop sc...
Posted By:Chad Bradley      Posted On: Nov 29

.Net Framework
Comments: 0

Is COM+ dead?

Not immediately. The approach for .NET 1.0 was to provide access to the existing COM+ services (through an interop layer) rather than replace the services with native .NET ones. Various tools and attributes were provided to make this as painless as p...
Posted By:Laurel Collins      Posted On: Mar 14

.Net Framework
Comments: 0

Can I write IL programs directly?

Yes. Peter Drayton posted this simple example to the DOTNET mailing list:

.assembly MyAssembly {}
.class MyApp {
.method static void Main() {
.entrypoint
ldstr "Hello, IL!"
call void System.Con...
Posted By:Topaz Ramirez      Posted On: Sep 20

  48  49  50  51  52  53  54  55  56  57  58