WlanConnect() doesn't set the Windows "last error" that is what $^E returns. It returns an error code. So you want:
$^E = ...->Call( ... );
- tye
In reply to Re: Adding WlanConnect() to Win32::Wlan::API ($^E)
by tye
in thread Adding WlanConnect() to Win32::Wlan::API
by tomsell
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |