mirror of
https://github.com/leechristensen/UnmanagedPowerShell
synced 2026-06-08 15:26:18 +00:00
Removed junk code
This commit is contained in:
@@ -157,18 +157,10 @@ HRESULT createHost(const wchar_t* version, ICorRuntimeHost** ppCorRuntimeHost)
|
||||
int _tmain(int argc, _TCHAR* argv[])
|
||||
{
|
||||
HRESULT hr;
|
||||
|
||||
//ICLRRuntimeHost* RuntimeClrHost = NULL;
|
||||
|
||||
|
||||
ICorRuntimeHost *pCorRuntimeHost = NULL;
|
||||
|
||||
IUnknownPtr spAppDomainThunk = NULL;
|
||||
_AppDomainPtr spDefaultAppDomain = NULL;
|
||||
|
||||
|
||||
bool useOldAPIs = false;
|
||||
|
||||
// The .NET assembly to load.
|
||||
bstr_t bstrAssemblyName("PowerShellRunner");
|
||||
_AssemblyPtr spAssembly = NULL;
|
||||
@@ -178,7 +170,6 @@ int _tmain(int argc, _TCHAR* argv[])
|
||||
_TypePtr spType = NULL;
|
||||
|
||||
|
||||
|
||||
// Create the runtime host
|
||||
if (!createHost(L"v2.0.50727", &pCorRuntimeHost))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user