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)




"Thank you so much - awesome feed, awesome service!" - Comment from Greg via Email
"I would just like to say that IQFeed version 4 is running very well and I am very happy with its performance. I would also like to extend a big thanks for the fast and efficient help that I always receive. My questions and concerns are always addressed promptly. Way to go!" - Comment from Josh in CO.
"I had always used ******* but for the past 2 weeks have been trying DTN IQFeed. Customer support has been extraordinary. They call just to make sure your problem hasn't recurred." - Comment from Public Forum
"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
"Very impressed with the quality of your feed - ******* is a real donkey in comparison." - Comment from A.C. via Email
"Everything is working amazing now. I'm already impressed with the true-tick feed of IQFeed and it's ability to support my 480 symbol layout." - Comment from Tyler via Email
"The people at Nirvana have very nice things to say about your company and I can see why! Price and service is a potent combination." - Comment from Ed
"Previously I was using *******. IQFeed is WAY more economical, and for my charting needs is just as good, if not better." - Comment from Public Forum Post
"After all the anxiety I had with my previous data provider it is a relief not to have to worry about data speed and integrity." - Comment from Eamonn
"You have an excellent product !!!!!!" - Comment from Arely
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
Viewing User Profile for: Damian
About Contact
Joined: Sep 4, 2004 01:21 PM
Last Post: Sep 4, 2004 05:24 PM
Last Visit: Sep 4, 2004 05:24 PM
Website:  
Location:
Occupation:
Interests:
AIM:
ICQ:
MSN IM:
Yahoo IM:
Post Statistics
Damian has contributed to 2 posts out of 21195 total posts (0.01%) in 7,195 days (0.00 posts per day).

20 Most recent posts:
IQFeed Developer Support » COM Component System Error Sep 4, 2004 05:24 PM (Total replies: 1)

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

IQFeed Developer Support » COM Component System Error Sep 4, 2004 02:15 PM (Total replies: 1)

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?


Time: Thu May 16, 2024 5:23 PM CFBB v1.2.0 11 ms.
© AderSoftware 2002-2003