Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 332700 - org.eclipse.swt.browser.IE.createSafeArray() does not work for cross process
Summary: org.eclipse.swt.browser.IE.createSafeArray() does not work for cross process
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.6.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.7 M5   Edit
Assignee: Grant Gayed CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-15 22:50 EST by Jun Yue Liu CLA
Modified: 2010-12-16 11:35 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jun Yue Liu CLA 2010-12-15 22:50:07 EST
Build Identifier: SWT 3.6.1

Due to a wrong flag in safeArrary was set, the safeArrary is not passed cross process successfully.

safeArray.fFeatures = OS.FADF_FIXEDSIZE | OS.FADF_HAVEVARTYPE

Actually the safeArray contain VT_UI1 but not VT_VARIANT, so the flag OS.FADF_HAVEVARTYPE should not be set up.

Without the flag, the function work well for in-process and out-of-process COM communication.

Reproducible: Always

Steps to Reproduce:
Run Snippet330 with SWT IE browser (in-process), and IBM XPD browser (support both in-process and out-of-process)
Comment 1 Grant Gayed CLA 2010-12-16 11:35:42 EST
Thanks!  Fixed > 20101216.