CLSID clsid; hr = CLSIDFromProgID(CONSOLE_PROGID,&clsid); IUnknown* pUnk; hr = CoCreateInstance( clsid, NULL, CLSCTX_SERVER, IID_IUnknown, (void**) &pUnk);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)