Initialize DEX2 in App Studio .NET SDK app that failed with COM Exception

I'm trying to use DEX2 APIs in App Studio .NET SDK app but failed object creation.

1. EikonDesktopApi initialization is succeeded.

2. Create Dex2Mgr by EikonDesktopDataAPI.CreateDex2Mgr() but it threw COM exception with following message.

System.Runtime.InteropServices.COMException がキャッチされました _HResult=-2147467259 _message=Property 'USERDETAILS/UUID' not found in any source HResult=-2147467259 IsTransient=false Message=Property 'USERDETAILS/UUID' not found in any source Source=KobraConfigProvider.KobraConfigProvider.1 ErrorCode=-2147467259

* I have attached testing code

maincontrolxamlcs.txt

Any ideas?

Sakamoto

Best Answer

  • @SAKAMOTO unfortunately this will not work. EikonDesktopData and its APIs are designed to be used outside of the Eikon process, while your App Studio app is run within Eikon.

    There is currently no way to get fundamental data if you are using App Studio .NET, it is only available in the HTML5 version of the SDK.