![]() |
Re: WlanRegisterNotification Problem
Ok jetzt gehts :-D :-D :-D :-D Danke!
|
Re: WlanRegisterNotification Problem
Sorry, aber ich muß diesen alten Thread mal aufgreifen.
Bisher funktionierte es bei mir exakt wie hier gelöst unter XP/SP2 und auch unter Vista. Allerdings bleibt es nun unter XP/SP3 genau bei WaitForSingleObject(hScanCompleteEvent, INFINITE); hängen.
Delphi-Quellcode:
Die WlanApi.dll version ist: v5.1.2600.5512
procedure myWLanNotifyProc(pNotifyData: Pndu_WLAN_NOTIFICATION_DATA;
pContext: PVOID); stdcall; begin if pNotifyData.NotificationSource = NDU_WLAN_NOTIFICATION_SOURCE_ACM then begin if Tndu_WLAN_NOTIFICATION_ACM(pNotifyData.NotificationCode) = wlan_notification_acm_scan_complete then begin SetEvent(PHandle(pContext)^); end; end; end; Da ich mein Delphi nicht auf einem SP3 Rechner installiert habe fällt das Debuggen sehr umständlich aus, vielleicht hat ja jemand eine lösende Idee. |
Alle Zeitangaben in WEZ +1. Es ist jetzt 12:29 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