none
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

Answers

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

    https://msdn.microsoft.com/en-us/library/windows/desktop/bb204766%28v=vs.85%29.aspx?f=255&MSPPError=-2147217396

    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.

    Tuesday, May 12, 2015 1:43 AM
    Answerer