NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: mjusic on October 10, 2016, 03:38:57 PM
-
I have a program that detects open windows when performing a specific task.
I added a procedure that sends some json data with netWebClient.
After that call there is an additional window left open (hidden?).
How can I close it or how can I detect it?
The code to check open windows:
!Window1 &WINDOW
!Window2 &WINDOW
WO# = false
Window1 &= System{PROP:Target}
loop J# = 1 to 64
SetTarget(,J#)
Window2 &= System{PROP:Target}
if not Window2 &= Window1
WO# = true
break
end
end
SetTarget()
if WO# = true
message('open window detected')
end
-
Found it !
It's the "NetTalk DLL WinSock Call Back Window" that stays open.
Closed it with NetCloseCallBackWindow() after the ThisWebClient.Kill()