Hi,

I had been using the following to load my XS module for Wx::ActiveX

Wx::wx_boot( 'Wx::ActiveX', $VERSION );

This works fine except when running 'make test' on a new build where there is a 
prior version of Wx::ActiveX installed. In that case, Wx::wx_boot loads the 
installed DLL and the tests fail with version conflicts.

I have fixed this by changing to XSLoader which is fine for Wx::ActiveX.

So

XSLoader::load 'Wx::ActiveX', $VERSION;

makes everything happy.

I note that every Wx XS module on cpan uses Wx::wx_boot - but I can't quite figure 
out why this would be necessary for anything not in the main Wx distribution. 
(other that the dynaloader switch Perl < 5006)

I would just like to make sure I am not missing something?

Regards

Mark




Reply via email to