Fri Mar 10 18:26:29 2017: Request 120581 was acted upon.
Transaction: Ticket created by [email protected]
Queue: Win32-API
Subject: Win32::api::loadlibrary not returning value on Win 10
Broken in: (no value)
Severity: (no value)
Owner: Nobody
Requestors: [email protected]
Status: new
Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=120581 >
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