Author |
Topic: Vista 64 & OEC API COM (5 messages, Page 1 of 1) |
||||
---|---|---|---|---|---|
Moderators: VPfau | |||||
SierraChart Posts: 111 Joined: Jul 17, 2007 |
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 |
We have subscribed to this thread.
|
||||
SergeK -Developer- Posts: 475 Joined: Jan 26, 2007 |
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 |
Any information about this? Thank you.
|
||||
SergeK -Developer- Posts: 475 Joined: Jan 26, 2007 |
Please download and install the updated OEC COM API - registration of the component was fixed to work in 64 bit systems.
|
||||