Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 371124

Summary: Failed to create Ole Client. result = -2147221164
Product: [Eclipse Project] Platform Reporter: Bob <robert.simons>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: P3 CC: a479976, daniel_megert, softwareproduction
Version: 3.7.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Bob CLA 2012-02-09 14:06:06 EST
Under Windows XP the OLE support works great for being to hook into Microsoft products such as Outlook. These libraries do not function correctly for Outlook on Windows 7.

I need to be able to make use of OleControlSite in order to get a hook into when the user sends the email generated from my program so action can be taken.

I was able to reference another bug report about OleAutomation, where I was able to workaround this issue by getting the SWT code and rebuilding it with the specified fix put in place.

OleControlSite still does not work, and it is a key piece of my application.

I always am met with the following error message:

  org.eclipse.swt.SWTException: Failed to create Ole Client. result = -2147221164
Comment 1 Thomas Stroeter CLA 2012-11-07 09:51:13 EST
Hi Bob, I'am not a native windows programmer so its just a guess: perhaps it's caused by a 32/64 bit conflict? I **guess** it might not work if the calling process (eclipse) running as 64 process but the office application is not (or vice versa).
Comment 2 Niraj Modi CLA 2014-08-21 02:24:37 EDT
*** Bug 442194 has been marked as a duplicate of this bug. ***
Comment 3 Eclipse Genie CLA 2020-01-04 12:59:58 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 4 Dani Megert CLA 2020-01-05 04:15:07 EST
Please reopen if this is still an issue on Windows 10.