Subject: | Win32::api::loadlibrary not returning value on Win 10 |
Date: | Fri, 10 Mar 2017 18:25:39 -0500 |
To: | bug-Win32-API [...] rt.cpan.org |
From: | Mike Shannon <mike.shannon64 [...] gmail.com> |
When trying to load a DLL on Win 10 using Win32::api::Loadlibrary
the routine returns a 0
I have seen this same return on Win 7
On Vista this worked.
Could someone verify this and/or offer a work around?
Win32::API version 0.84
Perl version 5.14.3
Routine call
$l_cedsni_handle = Win32::API->new($l_tmp, '_cedsniDump@8', 'PP', 'N');
if (not defined $l_cedsni_handle)
{
die "DSN Interface failed \n";
exit (0);
}
Inside this call you can see that the actual call to loadlibrary returns 0
TY
Mike