MSCOREE and MSCORLIB

  • Thread starter Thread starter Chak
  • Start date Start date
C

Chak

What is the difference between mscoree.dll and mscorlib.dll. Aren't they
both related to the CLR ?
 
mscoree.dll is a native dll (written in c++) for the CLR runtime, this
runtime dll is imported to any .NET assemblies as a DLL import. When a
..NET exe is executed, mscoree.dll is first invoked, acting as a loader
to start up the CLR execution engine, which actually redirects to
mscorwks.dll inside the framework directory.

mscorlib.dll is an .NET assembly written in C#, it provides the basic
class implementations for .NET Framework, such as Object, String,
classes, etc. It gets referenced by all .NET assemblies as a dependent
assembly.

If you want to understand more on mscoree.dll, you can take a look of
my DeProtector source code, where all mscoree.dll functions are
intercepted.

http://www.remotesoft.com/deprotector/src/ look at the mscoree folder

Thanks,

Huihong
Remotesoft, Inc.
 
Back
Top