Hello,
what´s wrong on this code ??? The application "Classic PhoneTools" does not stop and close.
Thanks for help.
Regards
Matthias Kuhn
what´s wrong on this code ??? The application "Classic PhoneTools" does not stop and close.
Code:
#COMPILE EXE #DIM ALL #INCLUDE "WIN32API.INC" FUNCTION PBMAIN () AS LONG LOCAL winindex AS DWORD winindex=FindWindow("","Classic PhoneTools"+CHR$(0)) IF winindex THEN ? "Classic is open" ?STR$(Destroywindow (winindex)) ELSE ?"Classic is closed" END IF END FUNCTION
Regards
Matthias Kuhn
Comment