Xojo 2019r2 continues to have rather odd side effects. Why do I get a NOE in the below code:
dim theProcesses as processMBS if theBundleID = "" then Return false theProcesses = new processMBS theProcesses.getfirstProcess if theProcesses.BundleID = theBundleID then return true end if dim Timeout as Integer = System.Ticks + 60 * 30 while theProcesses.getNextProcess and System.Ticks < Timeout '<--NOE here if theProcesses.BundleID = theBundleID then return true end if wend
The code itself works fine when I execute it in a simple project. I have used the code for ages without problems. For instance, before I do an AppleScript I make sure that the app is running.
I only get the NOE when I try to check for Filemaker. And I get the NOE for different locations where the function is called.