Forum: Win32/Win64 API (native code)
Delphi
by nitschchedu,
7. Nov 2007
Ok jetzt gehts :-D :-D :-D :-D Danke!
Forum: Win32/Win64 API (native code)
Delphi
by nitschchedu,
7. Nov 2007
Jop und zwar von der WlanAPI selbst ... also ich könnte ich nur die Procedure REgistrieren und wenn jemand anders Scant springt er bei mir rein.
Forum: Win32/Win64 API (native code)
Delphi
by nitschchedu,
7. Nov 2007
Also beim Debugen komme ich zu den Punkt WaitForSingleObject(hScanCompleteEvent, INFINITE); dann sage ich geh weiter (damit muss er dort anhalten) ... springe nach einer weile in
procedure WLanNotifyProc(pNotifyData: Pndu_WLAN_NOTIFICATION_DATA;
pContext: PVOID);
wo ich wieder sage
SetEvent(THandle(pContext));
Forum: Win32/Win64 API (native code)
Delphi
by nitschchedu,
7. Nov 2007
Omg es geht auf das stdcall wäre ich wohl nie gekommen .... Danke :thumb:
Und das mit dem Callback Prototypen ist auch keine schlechte Idee ! ;-)
Edit: Und schon gibt es ein neues Problem :-(
Ich komme bei WaitForSingleObject(hScanCompleteEvent, INFINITE); nicht weiter.
Forum: Win32/Win64 API (native code)
Delphi
by nitschchedu,
5. Nov 2007
Hallo Leute,
wie sicherlich schon einige mitbekommen und auch mit gewirkt haben, an der WLanAPI, ist mal wieder ein Probelm aufgetreten.
Also wie im Titel schon erwähnt geht es um die WlanRegisterNotification.
Volgendes habe ich gemacht.
procedure WLanNotifyProc(pNotifyData: Pndu_WLAN_NOTIFICATION_DATA;
pContext: PVOID);