// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. // // File: MscorpeSxS.cpp // // // This file defines a wrapper for SxS version of mscorpe.dll (dynamically loaded via shim). // #include "ilasmpch.h" #include "MscorpeSxS.h" #include // Loads mscorpe.dll (uses shim) HRESULT LoadMscorpeDll(HMODULE * phModule) { // Load SxS version of mscorpe.dll (i.e. mscorpehost.dll) and initialize it return LegacyActivationShim::LoadLibraryShim(L"mscorpe.dll", NULL, NULL, phModule); }