API Support Forum
OEC API > API Support > error when connecting to the API
Author Topic: error when connecting to the API
(13 messages, Page 1 of 1)
Moderators: VPfau
MMaksim49
Posts: 20
Joined: Apr 26, 2010


Posted: Sep 13, 2010 @ 01:05 PM             Msg. 1 of 13
Hello!

help please
connecting error

Run-time error '-2147467261 (80004003)':
Automation error

line with error:

Glob.c.RequestContracts Glob.c.BaseContracts.FindBySymbol("ESH9")

Maksim Posp
VictorV
Posts: 746
Joined: May 08, 2007


Posted: Sep 20, 2010 @ 09:04 AM             Msg. 2 of 13
Hello,

Glob.c.BaseContracts.FindBySymbol("ESH9") could return null (or Nothing in VB)

Victor Vins
Software Developer
MMaksim49
Posts: 20
Joined: Apr 26, 2010


Posted: Sep 20, 2010 @ 10:10 AM             Msg. 3 of 13
how do I avoid this error?
Previously, everything worked.

Maksim Posp
VictorV
Posts: 746
Joined: May 08, 2007


Posted: Sep 20, 2010 @ 10:19 AM             Msg. 4 of 13
could you please check if OEC COM API is registered on your machine?

Victor Vins
Software Developer
MMaksim49
Posts: 20
Joined: Apr 26, 2010


Posted: Sep 20, 2010 @ 10:28 AM             Msg. 5 of 13
how it can be verified?
Everything worked.
No changes on the computer did not occur.

Maksim Posp
MMaksim49
Posts: 20
Joined: Apr 26, 2010


Posted: Sep 21, 2010 @ 04:24 AM             Msg. 6 of 13
OEC.Functions mscoree.dll Excel Add-ins


state - actively

Maksim Posp
VictorV
Posts: 746
Joined: May 08, 2007


Posted: Sep 21, 2010 @ 08:24 AM             Msg. 7 of 13
Nope. This is a bunch of helper functions for DDE support. Could you try to re-install OEC COM API?

Victor Vins
Software Developer
MMaksim49
Posts: 20
Joined: Apr 26, 2010


Posted: Sep 27, 2010 @ 11:06 AM             Msg. 8 of 13
where you can download the installation files?

Maksim Posp
VictorV
Posts: 746
Joined: May 08, 2007


Posted: Sep 28, 2010 @ 08:20 AM             Msg. 9 of 13
You can download the latest version of OEC COM API from OEC One Link section of the web-site.

Meanwhile, could you please connect with OEC Trader Developer and check if you have any Futures account?

Victor Vins
Software Developer
MMaksim49
Posts: 20
Joined: Apr 26, 2010


Posted: Sep 28, 2010 @ 02:24 PM             Msg. 10 of 13
I realized over the past two months have been changes in the API?
old files do not work. How to be in this situation?

Maksim Posp
MMaksim49
Posts: 20
Joined: Apr 26, 2010


Posted: Sep 29, 2010 @ 12:46 AM             Msg. 11 of 13
In the book "Sample COM Book.xls"
very rarely updated price "Last". Why?

Maksim Posp
MMaksim49
Posts: 20
Joined: Apr 26, 2010


Posted: Sep 29, 2010 @ 07:49 AM             Msg. 12 of 13
Sorry. Price loaded well

But the files that worked 2 months ago do not work.

Maksim Posp
VictorV
Posts: 746
Joined: May 08, 2007


Posted: Sep 29, 2010 @ 08:27 AM             Msg. 13 of 13
The environment for developers (api.openecry.com) has no more than 2 quote updates per second.

Probably, you had installed OEC COM API 3.4, but the application expected OEC COM API 3.5 or vice versa.

Victor Vins
Software Developer