Difference between Unmanaged Code and Managed Code
Recently, I'm starting to develop laser ultrasonic scanning system in .Net platform. In the passed, I was using LabVIEW 8.6 to run the system. However, I would like to try with this new platform, where I can learn extra new programming language which lead me easy to compete in coming future. Before I start to develop the codes for the full system, I have wrapped the unmanaged DLL in .Net using Marshal function. For that, I have to know the difference between the unmanaged and managed DLLs. The following are the definition and different between both. Managed Code Managed code is what Visual Basic .NET and C# compilers create. It runs on the CLR (Common Language Runtime ), which, among other things, offers services like garbage collection, run-time type checking, and reference checking. So, think of it as, " My code is managed by the CLR. " Visual Basic and C# can only produce managed code , so, if you're writing an application in one of tho...