js2004
-Interested User-
Posts: 30
Joined: Jul 19, 2004
|
Posted: Aug 6, 2004 01:14 PM
Msg. 1 of 2
When I run the sample WatchList program, the StartStreaming is called by OnMouseMove() event and it worked. It also worked when I added a menu "login/logout". That is, when the program starts, it is not connected to IQFeed until I logged in by calling CoInitialize() and RegisterClientApp() during the login.
But in my own program, I copied the same code, the program does not get to OnMouseMove() event after I logged it, and I have to call StartStreaming() in order to start the thread.
What may be the problem?
Thanks
|
DTN_Natalie_H
-DTN Evangelist-
Posts: 175
Joined: May 10, 2004
DTN Market Access, LLC.
|
Posted: Aug 9, 2004 09:59 AM
Msg. 2 of 2
Did you add the MouseMove() through the class wizard? If you didn't, give that a try. Thanks!
Natalie Hannan DTN Market Access, LLC.
|