You are on page 1of 1

1) What is the difference between CCW and RCW?

S.N CCW RCW


o
1 COM to .NET communication .NET to COM Communication
happens through COM happens through Runtime
Callable Wrapper Callable Wrapper

2) What are the differences between Dll and Exe?

S.N Dll Exe


o
1 Objects of Dlls can be Objects of Exe cannot be created
created
2 Dll is In-Process Exe is Out-Process
3 It cannot be started as a It can be started as a standalone
standalone

3) What are the differences between Managed Code and


Unmanaged Code?

S.N Managed Code Unmanaged Code


o
1 It is executed under CLR It is not executed under CLR
2 It compiles to intermediate It compiles directly to machine
language code
3 It provides services like It does not provide security,
security, exception handling, exception handling, garbage
garbage collection etc collection etc
4 It can access both managed It can access only unmanaged
and unmanaged code code

You might also like