SWTException: Failed to create Ole Client. result= -2147221164 [message #1744016] |
Wed, 21 September 2016 09:01  |
Eclipse User |
|
|
|
Hi there,
I'm trying to deploy a Bundle from Eclipse Neon for x64 architectures.
The project comes out from a x86 architecture setup and recall a .NET component via OLE.
I set up all the Environment: Java x64, dlls recompiled and registered for x64, updated osgi and swt libraries....
The problem is that once I run the product (from Eclipse), the main GUI of my application partially loads, but I got the following message:
"org.eclipse.swt.SWTException: Failed to create Ole Client. result= -2147221164
at org.eclipse.swt.ole.win32.OLE.error(OLE.java:302)
at org.eclipse.swt.ole.win32.OleClientSite.<init>(OleClientSite.java:253)
at ....."
It seems the OLE component fails to run. To try solving this, I registered the dll (developed in VS) into ActiveX using RegAsm.exe (\windows\Microsoft.NET\ folder), but this didn't solve the problem.
Every help will be gratefully accepted.
Thank you.
Bane
|
|
|
|
Powered by
FUDForum. Page generated in 0.03952 seconds