ActiveState Powered by ActiveState

ActiveState Community


XSLoader => dll not backward compatible / perlXSTut

Posted by Maxu on 2007-04-17 15:52

I need backward compatibility for my modules (c -function call). But
when generating a Module for example 'mytest' (using h2xs, nmake like specified in perlXStut), the resulted mytest.dll has a dependancy to the dll-file of the current active perl-version (e.g. perl58.dll). So when I want to use the module with earlier perl-versions (e.g. perl 5.6.1), the failure

cannot locate perl58.dll

is consequentially generated.

What can I do?

Thanks for answering

kevinw | Wed, 2007-04-18 16:33

I don't believe 5.6 is binary compatible with 5.8. You'll need to have different builds for the two versions.

Cheers,

kjw

-->