RE: Strange crash
- Posted by Phil Russell <pg_russell at lineone.net> Sep 12, 2002
- 400 views
Matt, A while ago I got a similar error with the line: GridTopRow[grid] -= GridDraw[grid][MAX_VISIBLE_ROWS] This gave me a page fault when processing a WM_VSCROLL on Win95 (but not on 98 or 2K). It went away when I amended it to: GridTopRow[grid] -= 0 GridTopRow[grid] -= GridDraw[grid][MAX_VISIBLE_ROWS] Similar assignments elsewhere in the code worked absolutely fine. Absolutely no idea why, though... Regards, Phil Russell Matthew Lewis wrote: > > I've been having this really strange crash, which I can't explain. It's > in > a function that's used as a callback for an ActiveX control. It crashes > on > this line (machine exception): > > rect[3..4] += rect[1..2] >