Hi All,
I've recently begun working at VCA technology on an IP security camera system. I'm mostly doing embedded linux stuff, but bhe code I'm working with uses an ActiveX control to show the video and the overlaid annotations.
I've doing quite a lot of experimentation trying to get the page work correctly on Wine. So far the results have been rather disappointing:
wine git-head: wine builtin iexplore - page loads blank, though wireshark shows that html+js has been received. Various ole related fixmes. IE7 & IE8 installed to seperate prefixes - IIRC page fails to load
wine 1.4 wine builtin iexplore - page loads, but activex control fails to display.
Does anyone have any suggestions for how I can better investigate these issues? And what is the status of ActiveX in wine - is it likely to work at all?
Thanks Joel
On Thu, Jul 26, 2012 at 07:32:10PM +0100, Joel Holdsworth wrote:
Does anyone have any suggestions for how I can better investigate these issues? And what is the status of ActiveX in wine - is it likely to work at all?
I've done only a little work with ActiveX in Wine, but I think it "works" in general, but many specific cases are missing. Also remember that ActiveX programs are basically just programs, so all of the usual Wine pitfalls apply here, as well.
Do you know how the ActiveX object is created? <dlls/jscript/activex.c> is for jscript/JavaScript objects, and it ought to "work." I don't know about vbscript support for ActiveX objects.
I think most ActiveX objects will eventually be invoked as TypeLibs, in <dlls/oleaut32/typelib.c> (typelib2.c is for typelib creation, which is probably not being used here). typelib.c is in working-but-hideous shape. I know typelib.c moderately well, so I might be able to help answer questions if your problem turns up in that area.
You may also have to look into one of the various IDispatch implementations, like <dlls/oleaut32/dispatch.c>.
Anyway, hope that helps guide you towards the right source files and log channels, at least.
Andrew
Hi Joel,
On 07/26/12 20:32, Joel Holdsworth wrote:
Hi All,
I've recently begun working at VCA technology on an IP security camera system. I'm mostly doing embedded linux stuff, but bhe code I'm working with uses an ActiveX control to show the video and the overlaid annotations.
I've doing quite a lot of experimentation trying to get the page work correctly on Wine. So far the results have been rather disappointing:
wine git-head: wine builtin iexplore - page loads blank, though wireshark shows that html+js has been received. Various ole related fixmes.
It's most likely a problem with supporting scripts on the used b the page. I'm fixing such problems, but the scope is so bit that it takes time.
IE7 & IE8 installed to seperate prefixes - IIRC page fails to load
wine 1.4 wine builtin iexplore - page loads, but activex control fails to display.
Soon after 1.4 release, Wine started handling scripts itself, instead of using Gecko for that. It causes a massive known regression, but it allows us having IE compatibility on scripting level, which was previously impossible. That's the most likely cause of changed behaviour.
Does anyone have any suggestions for how I can better investigate these issues?
It's a complex question (see bellow)... The best first step would be filling a bug and including jscript,mshtml traces.
And what is the status of ActiveX in wine - is it likely to work at all?
From my experience, there is a good chance that your ActiveX will work
in our builtin IE. However: - it requires manual ActiveX installation. iexplore won't do that for you - the page must work good enough to get to the point of embedding the ActiveX (eg. if it's created by JavaScript code, that code must run up to the point) - ActiveX control may hit problems all across Wine. It's allowed to use any win32 API, so even if its embedding code is supported by our MSHTML, it may fail due to some random other API problem
Jacek
Hi Jacek, thanks for that information. That really helpful. I might be able to find my way through to the solution. Joel
On 27 July 2012 at 13:58 Jacek Caban jacek@codeweavers.com wrote:
Hi Joel,
On 07/26/12 20:32, Joel Holdsworth wrote:
Hi All,
I've recently begun working at VCA technology on an IP security camera system. I'm mostly doing embedded linux stuff, but bhe code I'm working with uses an ActiveX control to show the video and the overlaid annotations.
I've doing quite a lot of experimentation trying to get the page work correctly on Wine. So far the results have been rather disappointing:
wine git-head: wine builtin iexplore - page loads blank, though wireshark shows that html+js has been received. Various ole related fixmes.
It's most likely a problem with supporting scripts on the used b the page. I'm fixing such problems, but the scope is so bit that it takes time.
IE7 & IE8 installed to seperate prefixes - IIRC page fails to load
wine 1.4 wine builtin iexplore - page loads, but activex control fails to display.
Soon after 1.4 release, Wine started handling scripts itself, instead of using Gecko for that. It causes a massive known regression, but it allows us having IE compatibility on scripting level, which was previously impossible. That's the most likely cause of changed behaviour.
Does anyone have any suggestions for how I can better investigate these issues?
It's a complex question (see bellow)... The best first step would be filling a bug and including jscript,mshtml traces.
And what is the status of ActiveX in wine - is it likely to work at all?
From my experience, there is a good chance that your ActiveX will work in our builtin IE. However:
- it requires manual ActiveX installation. iexplore won't do that for you
- the page must work good enough to get to the point of embedding the
ActiveX (eg. if it's created by JavaScript code, that code must run up to the point)
- ActiveX control may hit problems all across Wine. It's allowed to use
any win32 API, so even if its embedding code is supported by our MSHTML, it may fail due to some random other API problem
Jacek