Skip to content

Instantly share code, notes, and snippets.

@GilesBathgate
Created May 14, 2016 17:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GilesBathgate/8f2f9bed881aad231eb273953f78c2fa to your computer and use it in GitHub Desktop.
Save GilesBathgate/8f2f9bed881aad231eb273953f78c2fa to your computer and use it in GitHub Desktop.
#include "stdafx.h"
#include <metahost.h>
#pragma comment(lib, "mscoree.lib")
int _tmain(int argc, _TCHAR* argv[])
{
ICLRMetaHost *pMetaHost = NULL;
HRESULT hr = CLRCreateInstance(CLSID_CLRMetaHost, IID_ICLRMetaHost,(LPVOID*)&pMetaHost);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment