Hello,
I have compiled perl 5.8.8 on windows XP with Microsoft
visual studio 8 2005 Pro. edition. Compilation is
successful.
Key points are: compiled perl with thread support off,
perlio=off, largefilesupport=off.
Now with this new perl, I have compiled our module <Abcd> to generated Abcd.dll ( perl58.lib is linked with Abcd ).
Abcd.pm is copied to perl\lib directory. and Abcd.dll
... in site.
When I use our module in perl script, i.e perl script a.pl
use Abcd;
I got following error ....
Can't load '....perl5/site/lib/MSWin32-x86/auto
/Abcd/Abcd.dll' for module Abcd: load_file:
This application has failed to start because the
application configuration is incorrect. Reinstalling
the application may fix this problem at .../perl5
/lib/MSWin32-x86/DynaLoader.pm line 229.
at a.pl line 3
Compilation failed in require at a.pl line 3.
at a.pl line 3
main::BEGIN() called at .../lib/Abcd.pm line 3
eval {...} called at
BEGIN failed--compilation aborted at a.pl line 3.
When I debugged, I found that, in Abcd.pm, the statement
bootstrap Abcd $Version;
fails to load Abcd.dll.
I donot know what's wrong I have done?
Because, Same module Abcd works with perl 5.6.1 non-threaded perl for last 2 years.