in reply to Re^2: Adding WlanConnect() to Win32::Wlan::API
in thread Adding WlanConnect() to Win32::Wlan::API

% perl -le"print $^E = 87" The parameter is incorrect

So see ERROR_INVALID_PARAMETER in the docs, such as http://msdn.microsoft.com/en-us/library/windows/desktop/ms706613%28v=vs.85%29.aspx

- tye        

Replies are listed 'Best First'.
Re^4: Adding WlanConnect() to Win32::Wlan::API (87)
by tomsell (Acolyte) on Jun 26, 2012 at 20:42 UTC

    I have a feeling that there's nothing obvious wrong with the values as such set in the perl application code. Under XP, it's mostly defaults that are available. Passing them on to the DLL seems to be the problem.

      So, I'd likely next look at the guts of whatever that *Struct module ends up generating (probably via 'perl -d').

      - tye