Example won't run......

Aug 9, 2010 at 9:14 PM

I have downloaded the example and loaded it in the Visual C# window.

When I go to run it, I get the following error;

'Win32 Exception was Unhandled' at the following lines of code;

Wlan.ThrowIfError(
Wlan.WlanOpenHandle(Wlan.WLAN_CLIENT_VERSION_XP_SP2, IntPtr.Zero, out negotiatedVersion, out clientHandle));

I am running Windows XP sp3

Aug 12, 2010 at 7:01 PM
Sorted. The wifi had to be enabled and a valid profile already had to exist.
May 1, 2011 at 8:08 PM

I am facing the same.

Using WinXP sp3 and not able to get code running.

 

Sure I have wifi enabled and in use. Valid profile? what you mean?

Jul 8, 2011 at 10:55 AM

Do I have to use a profile? Is there the possibility to set the WIFI parameters in the code and dispense with a profile?

When I use the function .SetProfile and I'm using the example data (Cheesecake, mac and "hello" for the key") the functions works. If I change the SSID it's also working but when I'm changing either the key or the mac function failed. What can I do?