API Support Forum
User Profile

Viewing User Profile for: WWatson2582


May 03, 2018 04:49 PM

Jun 28, 2019 08:25 AM

Jun 28, 2019 08:25 AM

Post Statistics
WWatson2582 has contributed to 8 posts out of 4461 total posts (0.18%) in 532 days (0.00 posts per day).

20 most recent posts:

API Support » GAIN API COM support Jun 28, 2019 @ 08:25 AM (Total replies: 2)

That's good news - thanks, Chris!

API Support » GAIN API COM support Jun 28, 2019 @ 08:22 AM (Total replies: 2)

I see that the beta GAIN API currently only has support for .NET/C#, but what about those products/developers that rely on the COM interface? Will there also be a COM interface released at some point for the new GAIN API or when support for the old interface is dropped, are the COM users abandoned at that point and expected to move their software to the .NET platform?

API Support » Missing properties in OEC API COM 3.5 Dec 04, 2018 @ 04:09 PM (Total replies: 4)

Thanks, Jason - that's great news! Any rough ETA on next version?

API Support » Missing properties in OEC API COM 3.5 Nov 29, 2018 @ 09:24 AM (Total replies: 4)

These properties are also missing from the IVersion and INewOrderDraft classes.

API Support » Missing properties in OEC API COM 3.5 Nov 28, 2018 @ 02:27 PM (Total replies: 4)

The properties DeltaTicks and DeltaTicks2 seem to not be exposed in the IOrderDraft class through the OEC API COM 3.5 latest release. Does this mean there is no way in an OSO order to set the OCO legs' prices as a tick offset of the main draft order's fill price?

While I'm on the subject, there has never appeared any official explanation of when a SendLinkedOrders version that contains an OSOGroupingMethod parameter must be used (namely SendLinkedOrders_4(), SendLinkedOrders_5(), and SendLinkedOrders_6()) , and what the various enumerations of this parameter actually mean. Can someone enlighten me, please?

Scott Watson

API Support » typelib missing Nov 07, 2018 @ 12:28 PM (Total replies: 3)

That did the trick - thanks for the fast response!

API Support » typelib missing Nov 07, 2018 @ 08:20 AM (Total replies: 3)

I should add that with a previous 3.5 version, downloading and installing the OECAPICOM archive did not automatically register the OECAPICOM.dll library, so we manually used regasm.exe to register that .dll which resulted in a registry entry at keys:
which had sub-keys that pointed to the .dll file's absolute path. This allowed the:
#import "libid:B187D28F-F936-408a-9EC7-2B1A0637F364" // OEC API
line in the sample application's "stdafx.h" header file to find the library and not throw the Visual Studio error message cited in the previous message

And this is where I am unable to proceed - trying to register the most recent OECAPICOM.dll version on a machine which had never had the previous version installed results in the "strongly-named assembly is required" error message cited in the previous message and there is no registry entry made. I can still register the previous version of OECAPICOM.dll so I suppose I could do that and then replace it with the newer version, or I could create the registry keys manually, but neither of these are desirable for our application's installer distributed to customers.

I think the proper solution is a strongly-named OECAPICOM.dll for the current version that can be registered with regasm.exe unless there is some other method you want us to use.

API Support » typelib missing Nov 06, 2018 @ 06:27 PM (Total replies: 3)

I am updating support of the newest API release for our unmanaged c++ application. I have noticed that there is no OECAPICOM.tlb file shipped with this release, and I cannot register the OECAPICOM.dll nor build the c++ sample application . I'm also not able to generate a .tlb file from the .dll, nor register it using regasm.exe. My computer is running Windows 10 and I am running regasm from an elevated (adminstrator) command prompt.

The Visual Studio error message is:
error C3506: there is no typelib registered for LIBID '{B187D28F-F936-408a-9EC7-2B1A0637F364}' c:\oec api com 3.5\samples\cpp\stdafx.h 74(Line) 1(Column) CppCOMSample(Project)

The regasm.exe error message is (using options /codebase and /tlb):
RegAsm : error RA0000 : Could not load file or assembly 'API, Version=, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)

Am I missing something simple here?