I have an application using map control of ESRI ArcGIS Runtime engine.
I could see the symbols when i open the map for first time, and but i could not see any symbols on the second instance of map while the first one is still open.
I'm using below code in my application, AddFile method returns S_OK for the first instance, but returns E_FAIL in the second instance. where m_pSG is IStyleGalleryPtr.
Code:
IStyleGalleryStoragePtr pSGS;
pSGS = m_pSG;
HRESULT hr;
hr = pSGS->AddFile(bstr);
Please let me know how to fix this issue.