// Collection of code snippets by Arne Vajhøj 
// (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
#include <iostream>

using namespace std;

#include <windows.h>

#using <mscorlib.dll>

#using <demo.dll>

using namespace E;

extern "C"
{
__declspec(dllexport) void f();
}

__declspec(dllexport) void f()
{
    cout << "glue f says hi from C++" << endl;
    Demo^ o = gcnew Demo();
    o->F();
}
