Our streaming provider and queue of windows messages
Author: YuriyMak
Creation Date: 2/9/2012 2:35 AM
profile picture

YuriyMak

#1
When we create our streaming provider, should we call StreamingDataProvider.UpdateQuote in the queue of windows messages?
profile picture

Eugene

#2
You call .UpdateQuote when a streaming update occurs i.e. when your data feed sent a quote update for a symbol to which you have subscribed.
profile picture

YuriyMak

#3
I have following problem:

1. I open two char windows.
2. Click "Stream" buttons on each windows
3. I close one of windows.

And then in the thread (which processes new quotes) I catch the exception InvalidOperationExceprion: "Invoke or BeginInvoke cannot be called on a control until the window handle has been created."
profile picture

Eugene

#4
This is not "our" (Wealth-Lab) problem. It's not generic but is specific to your code.

P.S. I'm moving this thread to the Extensions forum.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).