
Originally Posted by
strangeprob
You can use these steps to reproduce
1. Add a button with the following code
dim d as double
d = 1 / 0
2. go to the Compile tab in the project properties and select Pcode
3. compile and run the exe (you must run the exe, the ide behaves correctly)
4. click the button and the exe crashes without showing the overflow error message
Does anyone know why this happens?
I just compiled a test project to p-code and it does show a message box with
Code:
---------------------------
Project1
---------------------------
Run-time error '11':
Division by zero
---------------------------
OK
---------------------------
and *then* terminates as expected.
Do you have SP6 installed?
cheers,
</wqw>