Windows XP with Wi-Fi Hotspot using C++, C# RRS feed

  • Question

  • Hi.

    Are there some techniques to start with to create a virtual Wi-Fi hotspot in Windows XP?

    Windows 7 has its "netsh wlan" commands for this. But for XP as I guess it's necessary to apply some low-level programming to get access to the Wi-Fi adapter settings and actions.

    So could someone advice some steps to solve this problem?

    Maybe examples on device programming with C++ for Wi-Fi adapter...

    Monday, May 11, 2015 8:18 PM


  • Actually they did publish a set of API for WiFi connections. You'll have to P/Invoke to use them.


    EDIT: After reading the interfaces for creating AdHoc connection, we may conclude that this is only possible for Vista or later. For WinXP you'll have to use the API/COM objects provided by individual network card vendors.

    EDIT2: Although using COM+ component to create Ad-hoc connection is not possible, seems no where in the documentation mentioned Ad-hoc mode is not supported in WinXP. You may still want to try that. I no longer have WinXP computer that has wireless card here to test so you'll have to verify it yourself. Good luck.

    • Edited by cheong00Editor Tuesday, May 12, 2015 1:56 AM
    • Marked as answer by Fred Bao Tuesday, May 19, 2015 1:36 AM
    Tuesday, May 12, 2015 1:43 AM