I have very strange behavior that I cannot explain.
Every morning I run the program (C++ COM API) that does:
1. Initialize Eikon - Starts desktop application
2. Wait for a response.
3. Create RSearch request and send request
4. Wait for the response.
5. Get response with
l_hr = m_pIRSearchResponse->get_Status(&l_RSearchQueryStatus); where l_RSearchQueryStatus == S_OK.
6. l_hr = m_pIRSearchResponse->get_Instruments(&l_instruments); - this line throws access violation that I cannot catch anyhow.
The problem is it happens every morning once or twice in a row. After I step in debug mode, the error is gone until next morning.
I know it looks weird, but I don't have a way to deal with this crash.I checked m_pIRSearchResponse is not NULL and based on msxml3.dll in the error, it's something internal.
Please check the screenshot:
Any idea why it can happen?
Thanks.