PerlRider has asked for the wisdom of the Perl Monks concerning the following question:
Hi All, Struck to load DLL uisng XSLoader.pm module. Code is below:
I tried to load the DLL using XSLoader.pm in perl 5.6 and it loaded successfully. But When I try to load the same DLL with Perl 5.16 version, it failed. During loading I got the following popup error message from perl.exe: The application has failed to start because perl56.dll was not found. When I press ok on the popup: Can't load './afSigGen.dll' for module afSigGen: load_file:The specified module could not be found at :/Perl/lib/DynaLoader.pm line 191. at afSigGen.pm line 4. Compilation failed in require at SigGen.pl line 1. BEGIN failed--compilation aborted at SigGen.pl line 1. I am unable to find the problem for the failure. Please anyone knows please share.##!/usr/bin/perl #afSiggen.pm package afSigGen; our $VERSION = '0.01'; require XSLoader; XSLoader::load('afSigGen', $VERSION); 1; ##!/usr/bin/perl #Siggen.pl use afSigGen;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to load DLL using XSLoader.pm
by bulk88 (Priest) on Jan 11, 2013 at 12:09 UTC | |
by Anonymous Monk on Jan 11, 2013 at 12:41 UTC | |
by PerlRider (Initiate) on Jan 16, 2013 at 04:19 UTC | |
by bulk88 (Priest) on Jan 16, 2013 at 05:33 UTC | |
|
Re: How to load DLL using XSLoader.pm
by Anonymous Monk on Jan 11, 2013 at 11:18 UTC |