Forwarded because I can't seem to remember to hit 'Reply All'
--- Begin Message ---
Hi,
Thanks for that.
I would not expect wx_boot to pick up an already installed
Wx::ActiveX.
I had a look at the source for XSLoader::load which has:
..... # @modparts will hold ('Wx', 'ActiveX')
......# $modfname will hold 'ActiveX'
----------------------------------------------------------
my $modpname = join('/',@modparts);
my $modlibname = (caller())[1];
my $c = @modparts;
$modlibname =~ s,[\\/][^\\/]+$,, while $c--; # Q&D basename
my $file = "$modlibname/auto/$modpname/$modfname.$dl_dlext";
-----------------------------------------------------------
As I read the above, $modlibname is going to hold details of 'Wx::Mini', so the
dll for a previously installed Wx::ActiveX would get loaded. I have no Wx::Mini
in my blib tree for XSLoader to find.
Is the simplest answer for modules like Wx::ActiveX to use
XSLoader::load
and in the case where an unreferenced wxWidgets extension is used, do, for
example,
Wx::load_dll( 'html' );
first?
Regards
Mark
--- End Message ---