Hihi, I tried to use the tutorial in the link below but I got the following error at the line in BOLD below.
System.Runtime.InteropServices.COMException: 'Error HRESULT E_FAIL has been returned from a call to a COM component.'
I would appreciate it if anyone can advice how to resolve this? Thanks.
public void CreateDex2Mgr() {
// Create the Dex2 manager BUT ERROR occurs
MyDex2Mgr = MyEikonDesktopDataAPI.CreateDex2Mgr();
MyDex2MgrADC = (IDex2Mgr2)MyDex2Mgr;
// Initialize the Dex2 manager and retrieve a session cookie
if (MyDex2Mgr != null)
MyDex2Cookie = MyDex2MgrADC.Initialize(DEX2_MetadataCaller.DE_MC_ADC_POWERLINK);
}