API Support Forum
OEC API > API Support > API versions
Author Topic: API versions
(9 messages, Page 1 of 1)
Moderators: VPfau
CChen15
Posts: 121
Joined: Jul 23, 2009


Posted: Oct 06, 2009 @ 09:29 AM             Msg. 1 of 9
Hi. I download both of API COM Iterface from http://www.openecry.com/services/api_highlights.cfm :

1. API COM Interface and
2. API COM Interface No Samples

I install the first pack, save installation in other place and install second.
Comparing both of installations I found that there are differences in installed libraries:

API.dll
CommLib.dll
OECAPICOM.dll
regtool.exe

Which version should I use?

Thenk you.
.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Chen Hua, Russia
VictorV
Posts: 746
Joined: May 08, 2007


Posted: Oct 06, 2009 @ 10:28 AM             Msg. 2 of 9
Hi. You can use any of them: there are no differencies inside code.
CChen15
Posts: 121
Joined: Jul 23, 2009


Posted: Oct 06, 2009 @ 11:31 AM             Msg. 3 of 9
Do you mean source code?
But I mean compiled code:

OECAPICOM.dll
Version w/o samples:
CRC32: EE933B17
MD5: 635859A5FE1DCD60ED108C77609E4706
SHA-1: EB3AC4993244B0256AB3CEF4B66E6343438922F9

OECAPICOM.dll
Version with samples:
CRC32: 82143254
MD5: 6B44899091CBDFF5A52878D5705CD5F0
SHA-1: 4C1C730AA64A4DD773AEF2E1A9E698C97BD669B5

Why not to use only one of them in both bundles? For less questions risings?
.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Chen Hua, Russia
VictorV
Posts: 746
Joined: May 08, 2007


Posted: Oct 06, 2009 @ 11:35 AM             Msg. 4 of 9
Thank you, we will adopt this idea in further releases.
CChen15
Posts: 121
Joined: Jul 23, 2009


Posted: Oct 06, 2009 @ 03:18 PM             Msg. 5 of 9
Thank _you_. And I'll be wating for it like I'm waiting for DOM-bid-corrected Excel DDE version :)

And still, what of bundles you reccomend to install and use? With or w/o samples? I have some troubles in current API programming and want to except the accidents.
.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Chen Hua, Russia
VictorV
Posts: 746
Joined: May 08, 2007


Posted: Oct 06, 2009 @ 03:54 PM             Msg. 6 of 9
DOM-bid-corrected Trader will be available in the next build (3.4.0.5)

Please use the version with Samples.
CChen15
Posts: 121
Joined: Jul 23, 2009


Posted: Oct 27, 2009 @ 03:52 AM             Msg. 7 of 9
Thank you for Excel DDE DOM repairs.

Next question:

How I can get current version of API? Is there any function or propety? I searched but found nothing except orders versions related topics.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Chen Hua, Russia
VictorV
Posts: 746
Joined: May 08, 2007


Posted: Oct 28, 2009 @ 07:13 AM             Msg. 8 of 9
You need to use the standard .NET functionality to get the version of API.DLL assembly. Example:
Console.WriteLine("API version: {0}", typeof(OEC.API.OECClient).Assembly.GetName().Version);