CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 1 of 1
  1. #1
    Join Date
    Jan 2008
    Posts
    98

    [RESOLVED] Confused by ResetPreferredList

    I configured my AP wireless router as follows:
    Authentication-mode : WEP
    Authentication-type : Open System √Shared Key Both(I check Shared key)
    And configured a KEY.

    I use the example code in wzctool.cpp to connect wifi to AP.
    I use DoConnect to connect to AP supply with correct KEY.
    Then I use ResetPreferredList to clear Preferred list. and connect AP with a wrong
    KEY. But the wince tool shows I connect to the AP successfully.
    I'm confused. Can somebody unlock my mind?

    gurus give below advices:
    Your best references are MSDN and the "wzctool" sample from Platform Builder
    wzctool.cpp in Platform Builder.

    Sorry for my post, I don't check the return value of InterpretEncryptionKeyValue.
    Last edited by fantasy1215; March 23rd, 2009 at 05:14 AM. Reason: For my mistake

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured