Answered by:
using wlansetprofile in Winxp sp3

Question
-
I have created a c# program that connects to a wireless device(WPA2PSK) and retrieves some data, this works great in win7 64bit. Unfortunatly the end user machine is in winxp sp3. running the code on a similar machine I am getting error 87, with no changes to the code (apart from the policy which is changed to 0 for group) Is anyone aware of other differences i need to take into account.
Thanks
- Moved by Mike Feng Monday, February 4, 2013 11:03 AM
Thursday, January 31, 2013 4:43 PM
Answers
-
http://msdn.microsoft.com/en-us/library/windows/desktop/ms706795(v=vs.85).aspx list a few required flag values for xp.
else id propably ask in the visual c++ forum http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/threads (though i cant see where you originally posted)
- Proposed as answer by Ed Price - MSFTMicrosoft employee Tuesday, February 5, 2013 4:38 PM
- Marked as answer by Noel D PatonEditor Tuesday, February 12, 2013 4:13 PM
Monday, February 4, 2013 1:40 PMAnswerer -
thanks for the replies, I have found the problem in the c# code. In win7 IU could get away with string.empty as a null but on xp it wanted null keyword. I seem to rememeber that on win7 null didnt work tho
- Proposed as answer by Ed Price - MSFTMicrosoft employee Tuesday, February 5, 2013 4:38 PM
- Marked as answer by Noel D PatonEditor Tuesday, February 12, 2013 4:13 PM
Monday, February 4, 2013 2:38 PM
All replies
-
Hi there,
Welcome to the MSDN Forum.
I have moved this thread to "where is the forum for" to look for an appropriate forum for more responses.
Thank you.
Best regards,
Mike Feng
MSDN Community Support | Feedback to us
Develop and promote your apps in Windows Store
Please remember to mark the replies as answers if they help and unmark them if they provide no help.Monday, February 4, 2013 11:03 AM -
ok thanks, wasnt quite sure if this was thee right boardMonday, February 4, 2013 11:26 AM
-
http://msdn.microsoft.com/en-us/library/windows/desktop/ms706795(v=vs.85).aspx list a few required flag values for xp.
else id propably ask in the visual c++ forum http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/threads (though i cant see where you originally posted)
- Proposed as answer by Ed Price - MSFTMicrosoft employee Tuesday, February 5, 2013 4:38 PM
- Marked as answer by Noel D PatonEditor Tuesday, February 12, 2013 4:13 PM
Monday, February 4, 2013 1:40 PMAnswerer -
thanks for the replies, I have found the problem in the c# code. In win7 IU could get away with string.empty as a null but on xp it wanted null keyword. I seem to rememeber that on win7 null didnt work tho
- Proposed as answer by Ed Price - MSFTMicrosoft employee Tuesday, February 5, 2013 4:38 PM
- Marked as answer by Noel D PatonEditor Tuesday, February 12, 2013 4:13 PM
Monday, February 4, 2013 2:38 PM