How would I detect the version of my Juce ActiveX Browser Plugin via Javascript, without actually loading it?
The way to do it with for instance the shockwave plugin is:
var control = null;
try
{
control = new ActiveXObject('SWCtl.SWCtl');
}
catch (e)
{
return;
}
if (control)
{
version = control.ShockwaveVersion('').split('r'); //this obviously doesn't work for a Juce Plugin...
version = parseFloat(version[0]);
}
I can successfully initialize my plugin with new ActiveXObject(myProgID), but I don’t know how to get the version info from JuceBrowserPlugin_Version or JuceBrowserPlugin_WinVersion.
Any ideas? Thanks
