Join the 80,000 other DTN customers who enjoy the fastest, most reliable data available. There is no better value than DTN!

(Move your cursor to this area to pause scrolling)




"This beats the pants off CQG, I am definitely switching to the ProphetX 3.0!" - Comment from Stephen
"As a past ******* customer(and not a happy one), IQ Feed by DTN is a much better and cheaper product with great customer support. I have had no problems at all since switching over." - Comment from Public Forum
"I was on the phone with a friend who uses CQG and right after the Fed announcement, CQG was as much as 30 seconds behind DTN.IQ. Some quotes were off by as much as 15-18 cents. Your feed never missed a beat." - Comment from Roger
"Thanks for all of your help. Great customer service deserves to be recognized which one the reasons I've been a customer of DTN for over 10 years!" - Comment from Stuart
"My broker in Davenport suggested I give you a try as he uses your service and says its the best." - Comment from Bill via RT Chat
"You are much better than lawyers or the phone company because you answer the phone when I call! I just love your customer service." - Comment from Isreal
"I am very pleased with the DTNIQ system for quotes and news." - Comment from Larry
"I just wanted to tell you what a fine job you have been doing. While *******, from what I hear, has been down and out, off and on, IQ feed has held like a champ this week." - Comment from Shirin
"I like you guys better than *******...much more stable and a whole lot fewer issues." - Comment from Philip
"For anyone considering using DTN.IQ for a data feed, my experience with the quality of data and the tech support has been very positive." - Comment from Public Forum
Home  Search  Register  Login  Recent Posts

Information on DTN's Industries:
DTN Oil & Gas | DTN Trading | DTN Agriculture | DTN Weather
Follow DTNMarkets on Twitter
DTN.IQ/IQFeed on Twitter
DTN News and Analysis on Twitter
»Forums Index »Archive (2017 and earlier) »IQFeed Developer Support »COM Component System Error
Author Topic: COM Component System Error (2 messages, Page 1 of 1)

Damian
-Interested User-
Posts: 2
Joined: Sep 4, 2004


Posted: Sep 4, 2004 02:15 PM          Msg. 1 of 2
Using API 2.3.0.2 I loaded the vbhistory COM app into VS.NET2003. It builds and I can get history, however, as soon as the tick history download is complete, it crashes with a system error.

I also wrote my own app in C# and the same identical behaivor occurs. I get the history, handle the event below:
this.hlookup.TickCompleted += new DTNHISTORYLOOKUPLib._IHistoryLookupEvents_TickCompletedEventHandler(hlookup_TickCompleted);

Then crash. Note that the VB6 history.exe COM app runs fine. It only does this when I try to build the app myself in VS.NET 2003. Anyone have any ideas here?

Damian
-Interested User-
Posts: 2
Joined: Sep 4, 2004


Posted: Sep 4, 2004 05:24 PM          Msg. 2 of 2
Ok, I've narrowed it down. When using the VB or C# com historylookup in VS2003, if I register more than one event handler, I get the system error (memory overflow).

In the VB sample app, when I run it as is after importing into VS2003, it crashes after successfully downloading data. If I then remove all subs except for hlookup_TickCompleted, it will run fine for a tick data request.

The same thing is true in my C# app, if I only handle a single event, it works.

Within my C# app I handle these events:
this.hlookup.TickCompleted += new DTNHISTORYLOOKUPLib._IHistoryLookupEvents_TickCompletedEventHandler(hlookup_TickCompleted);
this.hlookup.MinuteCompleted += new DTNHISTORYLOOKUPLib._IHistoryLookupEvents_MinuteCompletedEventHandler(hlookup_MinuteCompleted);

I get the identical error that I get with the VB app, however, if I comment out MinuteCompleded, OR VICE VERSA, the error does not occur.

As a work around, I dynamically register, unregister the events so that only one event is handled at any given time, this works. However, I want to have both the completed and progress handlers at the same time, can this be fixed?

Thanks,
Damian
 

 

Time: Fri May 17, 2024 4:52 AM CFBB v1.2.0 11 ms.
© AderSoftware 2002-2003