Hi,
        Thanks for replying.
        In my code I have a scrollbar attached to the trxt field. After
FldSetTextPtr I am using FldReCalculateField. But it does not update the
scrollbar, so I have put a FldSendChangeNotification after it. So it sends
Fldchanged event causing scrollbar update function to call.
        In this function I am using FldGetScrollValues() for getting scroll values
for the field and update the scrollbar accordingly. But at this statement it
gives me error that code has read from a memory location that is below the
stack range. And I am not able to fix it. Also I have figured that if I
remove FldSendChangeNotification it the error does not come. But that is
because the update scrollbar function does not get called. So what may be
the problem.

Thanks and regards,
Kapil.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Keith
Rollin
Sent: Thursday, May 03, 2001 1:49 AM
To: Palm Developer Forum
Subject: Re: Stack read error .....


At 6:04 PM +0530 5/2/01, [EMAIL PROTECTED] wrote:
>Hi All,
>       My application gives me error that application has read from an address
>below the stack pointer . I am getting this error when I call function
>
>       FldGetScrollValues(field, &scrollPos, &textHeight, &fieldHeight);
>
>I am not being able to find out why the error is coming. Can anybody please
>tell me why it is giving me such error.

Kapil,

There's not enough information here for anyone to tell you why the
error is occurring except by guessing.  It would help if you could
provide the full error message and sample that shows the problem.
--

-- Keith Rollin
-- Palm OS Emulator engineer

P.S. Check out the new e-mail address.  [EMAIL PROTECTED] will work
for a while, but anyone mailing me needs to update to the new one
eventually.

--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to