Author |
Topic: Streaming Issues: (3 messages, Page 1 of 1) |
||||
---|---|---|---|---|---|
Moderators: VPfau | |||||
TThomas65 Posts: 9 Joined: Jun 03, 2010 |
I'm streaming tiks from api.openecry.com on a single subscribed contract using VB6.
1. Contract Subscription stops streaming 1 minute before the hour consistently 2. Trying to subscribe to Bar information on the contract: The following statment returns as object: Set testbars = api.RequestBars(Contract, 40427, 40426, SubscriptionType_Bar, 60) However, compiler doesn't like this within the class: Private Sub c_OnBarsReceived(ByVal subscription As OECAPICOM.subscription, ByRef bars() As OECAPICOM.Bar) It gives me this error message: “Function or interface marked as restricted, or the function uses an Automation type not supported in visual basic” Any other ways to get to the bar information or other work around? 3. By the way: Still can't get C# advanced example to work with firewalls of any sort disabled. Any other ideas on the matter from me on Sep 1? Thanks, Thomas Ketcheson |
||||
TThomas65 Posts: 9 Joined: Jun 03, 2010 |
Still need help on 2 and 3, however, my bad on #1 which was due to a basic error in program timing..
Thomas Ketcheson |
||||
VictorV Posts: 746 Joined: May 08, 2007 |
Unfortunately, COM OEC API doesn't support VB automation completely.
Could you please try to rename the project and try to connect with compiled renamed binaries? Victor Vins Software Developer |
||||