Oxygen Basic
Programming => Problems & Solutions => Topic started by: Peter on May 06, 2011, 01:17:57 PM
-
Deleted....
-
Hi Peter,
This is a symptom of stack corruption within the sub.
If too many items are left on the stack, Oxygen will handle this nicely, but if the return address of the procedure is removed then there is trouble!
Usually this happends when too few parameters are passed when making a call from within the procedure.
Charles
-
Hi Peter,
ExitProcess works independently of the process stack so to speak. Each process has its own private stack and cannot disrupt another process or the operating system if its stack gets corrupted. Which is why you can safely use ExitProcess inside a procedure.
You will need to isolate each call branch and see which one is causing the crash.
Charles