Announcement

Collapse
No announcement yet.

Problem with Crashes

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problem with Crashes

    I am developing a C++ app that uses the ActiveX interface to retreive historical data. It works the first time I request the data for any of several symbols. BUT, it ALWAYS crashes the second time I request the historical data for any symbol.

    The second request, there would be data cached from the first request, so a problem with the cached data is one possible cause.

    A second possible cause is that I am leaving something open, unfinished, or in a strange state from the first request, so that it affects the operation of the second request.

    In any case, the eSignal code should be more bulletproof.

    Anyone experience this or have any ideas/solutions?
    Last edited by bullman; 09-17-2003, 08:23 PM.

  • #2
    Follow up

    The cause of this problem below is that the "GetIsHistoryReady" function apparently throws a "ES_OnBarsChanged" event PRIOR to returning AND returns TRUE, indicating the data is ready. the docs say that if the data is ready, no events will be thrown.

    This "ES_OnBarsChanged" caused massive confusion with my code because it was thrown before I could set up data structures and process the data that was ready.

    Why does "GetIsHistoryReady" throw a "ES_OnBarsChanged" event when the data is cached and ready before returning control?

    Comment

    Working...
    X