On 11-Jun-99 Danko Radic wrote:
> Would somebody be so kind to give a hint why such errors like:
>
> 1) Form.c, Line:514 "Invalid window position"
> 2) ScrDriverNew.c, Line:499 "Invalid params"
>
> occur. It's POSE 2.1d25 with Debug ROM 3.0 and app build by CW R4. What
> confuses me is that both errors are reported when popup form is being
> released (OK button) after it has been released without error dozens
> (hundreds) of times. After 'Continue', the code procedes with execution
> without problems until coming onto that form again. Perhaps someone knows
> some deeper reason (like Alan with that Field writing into low mem
> problem). These errors occur after more than 100000 gremlin steps and a
> lot of successful calls of corresponding functions before that.
I'm using POSE 2.1d29 and I'm having a similar problem. After 645,204
gremlin events, I get an "Invalid window position". I'm still tracing
through it to find what is causing it, but luckily I have the PalmOS source
which tells me that my problem is in the RedrawDisplay() function.
RedrawDisplay() goes through the window list and checks if each dialog is the
size of the screen. If not, it barks "Invalid window position". Fine, just
fine.. but why?
I do have a popup dialog that is half-height so I am wondering if it is just
telling me that it doesn't like it. It is wrapped in one of these:
#if ERROR_CHECK_LEVEL == ERROR_CHECK_FULL
/* Chris Faherty <[EMAIL PROTECTED]>, finger for PGP */