API Support Forum
OEC API > API Support > New dll version 3.1.2.0
Author Topic: New dll version 3.1.2.0
(10 messages, Page 1 of 1)
Moderators: VPfau
PArnoldson
Posts: 154
Joined: Oct 03, 2007


Posted: Nov 06, 2007 @ 12:00 PM             Msg. 1 of 10
I got the new updated dll 3.1.2.0 and now I can no longer log in. I have made the appropriate changes, using port 9201 not 9200 I am using the api.openecry.com. I am attaching to the dll fine, but when calling the connect() I am returned with a ondisconnected callback. Please help. Did I do something wrong?

Note: When downloading the OECAPICOM interface the API.dll is on version 3.1.2742.15319 and if you download the OECAPICOM interface w/out examples the API.dll is version 3.1.2.0.

I did try both of these dlls and get the same result.
SergeK
-Developer-
Posts: 475
Joined: Jan 26, 2007


Posted: Nov 06, 2007 @ 01:09 PM             Msg. 2 of 10
in our server logs it looks as you are trying to connect with an old version of the API. Please try to uninstall all versions and then reinstall the latest one.
PArnoldson
Posts: 154
Joined: Oct 03, 2007


Posted: Nov 06, 2007 @ 02:01 PM             Msg. 3 of 10
point me in the right direction to get this "New Update". I am downloading the the API COM Interface http://www.openecry.com/myaccountmgm/API/OEC API COM.exe and this installs the OEC API COM Int 3.1 If this isn't the correct Interface that I should be using then I would like to know where to go to get it?
PArnoldson
Posts: 154
Joined: Oct 03, 2007


Posted: Nov 06, 2007 @ 02:07 PM             Msg. 4 of 10
I am using this to import the API lib:
#import "libid:e4b286b1-1f04-4cf7-1978-151d72e9b724" // OEC API

Is this correct or is there a new libid?
SergeK
-Developer-
Posts: 475
Joined: Jan 26, 2007


Posted: Nov 06, 2007 @ 02:40 PM             Msg. 5 of 10
It seems we did not provide correct updated version of the COM API for download.
Please re-download the files again. Libid will remain the same.

We apologize for inconvenience.
PArnoldson
Posts: 154
Joined: Oct 03, 2007


Posted: Nov 07, 2007 @ 02:53 PM             Msg. 6 of 10
When this update was posted the data history request now only goes back to november 1st. I only have about 4 days of data. Where is the history?
SergeK
-Developer-
Posts: 475
Joined: Jan 26, 2007


Posted: Nov 07, 2007 @ 04:20 PM             Msg. 7 of 10
currently our development server has data available up to november 2nd only.

sorry for inconvenience.
PArnoldson
Posts: 154
Joined: Oct 03, 2007


Posted: Nov 08, 2007 @ 12:50 PM             Msg. 8 of 10
Same issues:

1- I am Still having problems with the new update. I have the new dll now and can log into the api.openecry.com on port 9200, but NOT 9201.

2- I try logging into sym.openecry.com on port 9200 and get the message from OnLoginFailed() saying "FailReason_InvalidClientVersion". but when tyring sym.openecry.com on port 9201 I get nothing but a OnDisconnected() no reason.

Am I supposted to use port 9201 with this new dll? If so am I doing somthing wrong?
SergeK
-Developer-
Posts: 475
Joined: Jan 26, 2007


Posted: Nov 08, 2007 @ 01:10 PM             Msg. 9 of 10
1. You are supposed to connect only to api.openecry.com:9200. Port 9201 will be used by API automatically for secondary connection - you just need to make sure port 9201 is not blocked by the firewall. If you are getting prices and charts data, it is open already.

2. You cannot connect to sim.openecry.com with this version yet. When we release the new sim server, you will be required to connect with new version only - old version will not work.

The sim release date is currently scheduled for Friday, Nov 16th , and the production release date is on Friday, Nov 23rd.
PArnoldson
Posts: 154
Joined: Oct 03, 2007


Posted: Nov 08, 2007 @ 02:36 PM             Msg. 10 of 10
Thanks for the response.