I hope someone will correct me if I'm horribly wrong, but:
Managed code runs in the CLR (a virtual machine) which provides a number of
services: security, type safety, memory management just to name a few.
Unmanaged code doesn't run in the CL and is typically known as COM, COM+,
ActiveX, Win32 API.... However, the CLR does allow for interopability
between the two (which would be how the CLR treats it), basically shielding
from you the fact that code is unmanged.
If you are specifically interested in interopability, start by checking out:
http://msdn.microsoft.com/library/de...anagedCode.asp
Ideally, the "use" of unmanaged code would be something only there for
backwards compatibility. Everyone (ideally again) should be using Managed
Code...it lends itself to safer (which is I use broadly) and code which is
quicker to develop. Realistically, the CLR and .Net still aren't ideal for
all forms of development, such as real time development, graphically intense
development, firmware and the likes..
Karl
--
MY ASP.Net tutorials
http://www.openmymind.net/
"Sandy" <Sa***@discussions.microsoft.com> wrote in message
news:DE**********************************@microsof t.com...
I am confused about Unmanaged Code, How .Net Framework treate that code,
What is the use of that.
Thanks in advance
Sandeep Chitode