Could not see the symbols with second instance of the map

Discussion created by muralimohana_c on Jun 13, 2012
Latest reply on Jun 15, 2012 by jbarry-esristaff
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.
IStyleGalleryStoragePtr pSGS;
pSGS = m_pSG;
hr = pSGS->AddFile(bstr);

Please let me know how to fix this issue.