GGuezet
7 years agoContributor
Closing my app using .Close sometimes return "The [xxx].exe process crashed."
Hi, for closing my apps, I'm using the TestComplete Method ".Close".
Sys.Process(PROC_NAME).QtObject("MainWindow").Close
PROC_NAME is initialised before with the process name, and the QtObject MainWindow exists (checked before).
Sometimes, when I call this method, a few seconds later, I got "The [xxx].exe process crashed." with an Exception code = 0xC0000005.
This exception code seems to be related with some sort of memory address violation.
I don't really understand why I get this error, since the window is successfully closed and the process terminated (as expected).
Thanks for your support.