[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.swt] Re: OleClientSite makes VM to crash
|
Thanks for the info but I need to display the applet. I'll look into the
link to check if I can find any useful info.
"Veronika Irvine" <veronika_irvine@xxxxxxx> wrote in message
news:bfmjo2$n4b$1@xxxxxxxxxxxxxx
> You can block the embedded browser from running the applet:
>
> webControlSite = new OleControlSite(webFrame, SWT.NONE, "Shell.Explorer");
> Variant download = new Variant(DLCTL_NO_SCRIPTS);
> webControlSite.setSiteProperty(DISPID_AMBIENT_DLCONTROL, download)
>
> See also:
> http://dev.eclipse.org/newslists/news.eclipse.platform.swt/msg00382.html
>
> "Maurice Gasco" <maurice.gasco@xxxxxxxxxxxxx> wrote in message
> news:bfkapv$5mc$1@xxxxxxxxxxxxxx
> > I am running Eclipse 2.1 on windows XP with IE 6.0.
> >
> > I am using OleClientSite to run an embedded browser in my Eclipse
plugin.
> > Then I browse a page that contains an applet. By default, the browser
> picks
> > up the Microsoft JVM and it works fine. If I change the HTML to force
the
> > use of the Sun Java plug-in 1.4, I got and error message "Java(TM)
Plug-in
> > Fatal Error" "Attachment to a running Virtual Machine failed" and the
> > Eclipse runtime dies with "An unexpected exception has been detected in
> > native code outside the VM".
> >
> > Any ideas ?
> >
> > Thanks,
> > Maurice.
> >
> >
>
>