Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » SWTException: Failed to create Ole Client. result= -2147221164
SWTException: Failed to create Ole Client. result= -2147221164 [message #1744016] Wed, 21 September 2016 13:01 Go to next message
Ba ne is currently offline Ba neFriend
Messages: 4
Registered: June 2015
Junior Member
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
Re: SWTException: Failed to create Ole Client. result= -2147221164 [message #1770032 is a reply to message #1744016] Mon, 07 August 2017 15:44 Go to previous message
Kripal Thakur is currently offline Kripal ThakurFriend
Messages: 2
Registered: August 2017
Junior Member
Hi,

I am also getting similar issue when I am executing below code:-

try {
frame = new OleFrame(shell, SWT.NONE);
clientSite = new OleClientSite(frame, SWT.NONE, "Passport.system");
clientSite.doVerb(OLE.OLEIVERB_INPLACEACTIVATE);
addFileMenu(frame);
}
Previous Topic:Gray out disabled menus under Linux
Next Topic:JAWS doesn't read autocompletion
Goto Forum:
  


Current Time: Tue Mar 19 11:52:10 GMT 2024

Powered by FUDForum. Page generated in 0.02210 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top