API Support Forum
OEC API > API Support > Vista 64 & OEC API COM
Author Topic: Vista 64 & OEC API COM
(5 messages, Page 1 of 1)
Moderators: VPfau
SierraChart
Posts: 111
Joined: Jul 17, 2007


Posted: May 22, 2008 @ 01:14 PM             Msg. 1 of 5
We have a user when is running Vista64. They have installed the OEC API COM client. In our code at this point:

Quote: HRESULT res = m_API.CreateInstance(__uuidof(OECAPICOM::OECClient));
if (!m_API)
{
g_p_MessageLog->AddMessage("Failed to create OEC API COM instance.", SW_SHOW);
return false;
}


We are getting an error. m_API is null. We have not seen this before, unless the COM Client is not installed. On this system we installed the correct version 3 times.

We also use another COM component and we are not seeing a problem with that one on this users Vista64 system.
SierraChart
Posts: 111
Joined: Jul 17, 2007


Posted: May 22, 2008 @ 01:15 PM             Msg. 2 of 5
We have subscribed to this thread.
SergeK
-Developer-
Posts: 475
Joined: Jan 26, 2007


Posted: May 22, 2008 @ 03:25 PM             Msg. 3 of 5
It might be related to the 64bit OS - while .NET is working in 64bit mode, COM and native applications are still in 32bit - so they could not interoperate.

We will research this issue.
SierraChart
Posts: 111
Joined: Jul 17, 2007


Posted: Jun 05, 2008 @ 08:21 PM             Msg. 4 of 5
Any information about this? Thank you.
SergeK
-Developer-
Posts: 475
Joined: Jan 26, 2007


Posted: Jun 09, 2008 @ 04:48 PM             Msg. 5 of 5
Please download and install the updated OEC COM API - registration of the component was fixed to work in 64 bit systems.