AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Programmierung allgemein Netzwerke Delphi WLan API Übersetztung ?
Thema durchsuchen
Ansicht
Themen-Optionen

WLan API Übersetztung ?

Ein Thema von nitschchedu · begonnen am 17. Okt 2006 · letzter Beitrag vom 3. Dez 2007
Antwort Antwort
MaxVol

Registriert seit: 22. Jul 2007
2 Beiträge
 
#1

Re: WLan API Übersetztung ?

  Alt 10. Aug 2007, 14:39
Hello

Sorry for English, but my German is very-very bad.
First of all I wish to thank all people, who took part in translation WLan headers to Delphi, it's great work, I could not find even partial translation anywhere else.

But when I has tried to use these headings, I have found, what not all works correctly. I have problems with getting of the status of wireless connections and when I looked headers, I have found, what not all identically with MSDN.
In MSDN WLAN_AVAILABLE_NETWORK structure is described so:

Delphi-Quellcode:
typedef struct _WLAN_AVAILABLE_NETWORK {
  WCHAR strProfileName[256];
  DOT11_SSID dot11Ssid;
  DOT11_BSS_TYPE dot11BssType;
  ULONG uNumberOfBssids;
  BOOL bNetworkConnectable;
  WLAN_REASON_CODE wlanNotConnectableReason;
  ULONG uNumberOfPhyTypes;
  DOT11_PHY_TYPE dot11PhyTypes[WLAN_MAX_PHY_TYPE_NUMBER];
  BOOL bMorePhyTypes;
  WLAN_SIGNAL_QUALITY wlanSignalQuality;
  BOOL bSecurityEnabled;
  DOT11_AUTH_ALGORITHM dot11DefaultAuthAlgorithm;
  DOT11_CIPHER_ALGORITHM dot11DefaultCipherAlgorithm;
  DWORD dwFlags;
  DWORD dwReserved;
}
 WLAN_AVAILABLE_NETWORK,
But in headers it looks differently:

Delphi-Quellcode:
WLAN_AVAILABLE_NETWORK = record
  strProfileName: array [0..WLAN_MAX_NAME_LENGTH - 1] of WCHAR;
  dot11Ssid: DOT11_SSID;
  dot11BssType: DOT11_BSS_TYPE;
  uNumberOfBssids: ULONG;
  bNetworkConnectable: BOOL;
  wlanNotConnectableReason: WLAN_REASON_CODE;
  uDot11PhyType: ULONG;
  wlanSignalQuality: WLAN_SIGNAL_QUALITY;
  dot11RateSet: DOT11_RATE_SET;
  bSecurityEnabled: BOOL;
  dot11DefaultAuthAlgorithm: DOT11_AUTH_ALGORITHM;
  dot11DefaultCipherAlgorithm: DOT11_CIPHER_ALGORITHM;
  dwFlags: DWORD;
  dwReserved: DWORD;
end;
Differs even quantity of parametres, therefore I receive wrong values in many fields, for example in wlanSignalQuality and bSecurityEnabled.
I tried to correct headers itself, but have failed.
Maybe someone already have a corrected variant of headers or maybe I can download somewhere wlanapi.dll, which works correctly with current headers?

Thanks in advance,
Max.
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 23:15 Uhr.
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz