Hello,
This is absolutely not important and absolutely a stupid question because B4A prints a lot of warning and this has absolutely not to have to be used like that.
By chance, while debugging, I have noticed that if you make a call to a sub from the Process_Globals sub of Main and the Starter service, it is executed.
But if you make a call from another service, it generates an error :
I wondered why in one case and not the other. Project attached, line to uncomment is in the ss1 service to make it crash.
Thanks
This is absolutely not important and absolutely a stupid question because B4A prints a lot of warning and this has absolutely not to have to be used like that.
By chance, while debugging, I have noticed that if you make a call to a sub from the Process_Globals sub of Main and the Starter service, it is executed.
But if you make a call from another service, it generates an error :
java.lang.RuntimeException: Unable to create service b4a.example.subs.starter: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
I wondered why in one case and not the other. Project attached, line to uncomment is in the ss1 service to make it crash.
Thanks