Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [platform-swt-dev] Implementing IID_IDispatch from within Eclipse


I have a further question on the current SWT strategy for implementing an IDispatch interface.  Please bear with me; I'm not a COM expert, but I do know that I need to pass a IDispatch objects to an embedded IE WebBrowser so my external Java code can get called back.

The request for the addition to SWT is discussed here: http://dev.eclipse.org/mhonarc/lists/platform-swt-dev/msg00716.html

and a feature request is here: http://dev.eclipse.org/bugs/show_bug.cgi?id=13503 (also in bug 8727).

So my question is: if I use Lynn Monson's recipe for creating an IDispatch, (using the org.eclipse.swt.internal.ole.win32.COMObject class), how do I "crack the parameters to the IDispatch methods"? Can you show an example of cracking a parameter?

Thanks in advance,

Seymour Kellerman  
IBM Research
1 Rogers Street
Cambridge MA 02142
Seymour_Kellerman@xxxxxxxxxx
617 693-5412

Back to the top