S
Staale L. Hansen
We have an application which uses some mixed-mode code to expose a .NET 1.1
managed API. Only the necessary files are compiled with /clr.
We want to be able to load the application without .NET present, and then
just disable the API.
But we are not even able to give an error message when we start the
application without mscoree.dll present. We have tried delay-loading
mscoree.dll, but that did not help because the OS loader (at least on XP)
forces the initialization of .NET by running _CorExeMain() directly.
Is it possible to disable the .NET initialization?
Regards,
Ståle Hansen
managed API. Only the necessary files are compiled with /clr.
We want to be able to load the application without .NET present, and then
just disable the API.
But we are not even able to give an error message when we start the
application without mscoree.dll present. We have tried delay-loading
mscoree.dll, but that did not help because the OS loader (at least on XP)
forces the initialization of .NET by running _CorExeMain() directly.
Is it possible to disable the .NET initialization?
Regards,
Ståle Hansen