Why do I get an 'incorrect format' error when trying to connect to Thomson Reuters Eikon (Matlab 2015a)?
显示 更早的评论
I am running Matlab 2015a on Windows 8.1 PRO machine. When I try to connect to TR Eikon I get the following error:
>> c = treikon
Error using treikon (line 86)
Message: Could not load file or assembly 'file:///C:\Program Files
(x86)\Thomson Reuters\Eikon\X\Bin\Interop.EikonDesktopDataAPI.dll' or one of
its dependencies. An attempt was made to load a program with an incorrect
format.
Source: mscorlib
HelpLink:
I get the same error when I try to specify the source and the filepath, i.e.:
>> c = treikon('IDN',...
'C:\Program Files (x86)\Thomson Reuters\Eikon\X\Bin')
Error using treikon (line 86)
Message: Could not load file or assembly 'file:///C:\Program Files
(x86)\Thomson Reuters\Eikon\X\Bin\Interop.EikonDesktopDataAPI.dll' or one of
its dependencies. An attempt was made to load a program with an incorrect
format.
Source: mscorlib
HelpLink:
Any help will be greatly appreciated!
Pavel
2 个评论
Richard Taylor
2015-11-5
I am also getting this error. My admin has tried to register the dll file listed above and could not. Can someone please offer some feedback.
Thanks
回答(2 个)
Guillaume Nolin
2015-11-10
1 个投票
This appears to be a conflict between a 32-bit .dll library (Eikon's Interop.EikonDesktopDataAPI.dll) and the 64-bit version of Matlab. I haven't been able to get around this issue and I'm not sure there's a solution short of using 32-bit Matlab.
Thomson Reuters appears reluctant or unwilling to provide a full 64-bit version of Eikon. For example, to use the Excel Eikon plug-in you need to run a 32-bit version of Excel.
Jacob Amos
2016-2-24
0 个投票
I just tried this after going through the process of downloading 32-bit MATLAB, and it still isn't working. Rather displeased indeed...
类别
在 帮助中心 和 File Exchange 中查找有关 Downloads 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!