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;
In reply to How to load DLL using XSLoader.pm by PerlRider
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |