Darwinbots Forum
Code center => Bugs and fixes => Topic started by: Sprotiel on June 07, 2005, 02:06:51 PM
-
The bug: when you open and then close a graph whose max value is zero, you get an overflow error at the next graphs' refresh.
What was weird was that looking at it in debug mode, you understand that it's caused by a division by maxy, which has the value 0, even though there 's the line
If maxy < 1 Then maxy = 1
just before !
Looks like a random quirk of VB6. :rolleyes:
Anyway, I managed to fix it, though I have no idea how.
Instructions: Drop the attached file in your DB source folder and rebuild the exe.
-
You forgot to include it.
Other than that good work! Thi has been bugging shvarz forever.
-
It's fixed?
I think I'm gonna faint.....
:clap:
-
You forgot to include it.
I'm quite sure there was something in the "File attachments" box. I don't know what happened.
-
It's fixed?
I BELIEVE it's fixed. At least it doesn't crash in a situation where it crashed before, but who knows? This bug shouldn't have happened in the first place...
-
I could never reproduce it on my computer. It's hard sometimes because VB doesn't run the same on every system (different msvb60.dll)