It seems that I made an app that is completely invisible to any taskmanager and is not able to close itself. :sign0148:
The app is very annoying since it tries to open antother .exe on every "evWakeUp" event.
I used the hardware.dll and "ShowTodayScreen" to hide it.
Is there any way to build an app that can terminate external apps?(since i know the name of my app)
Have you setup the app to run at every evWakeUp event?
because it is possible that the app closes (therefore you cannot close it)
and on every evWakeUp it runs and does its business,
the solution is to remove the app from the RunAt queue
Erel posted the example/solution here on the forum some time ago
'hard as hardware object
Sub App_Start
Form1.Show
hard.New1
hard.RunAppAtEvent("s2uapp.exe",hard.evWakeup)
End Sub
sub button1_click
hard.ShowTodayScreen
end sub
i tried to use the dzHW lib, but it didn´t work either
B4X:
Sub App_Start
dz.New1
Form1.Show
End Sub
Sub button1_click
dz.KillProcess("s2u.exe")
Msgbox("done")
End Sub
Sorry for the names they are confusing.
s2u.exe is the hidden app witch is waiting for the event.
s2uapp.exe iss the app witch is opend by s2u.exe on the event.
the second code is another app witch is made to terminate the running and hidden s2u.exe.