Anu,
   Some where u r not allocating the memory. This type of probs will come
with Null pointers.. if u add a snippet of code where u r facing the
error..we can trace it easily..I suggest better chek with NULL before doing
any comutation with the control pointers u r getting..


best regards...:)
Prasad

----- Original Message -----
From: Anuradha J <[EMAIL PROTECTED]>
To: Palm Developer Forum <[EMAIL PROTECTED]>
Sent: Sunday, November 26, 2000 6:24 AM
Subject: Re: Event handling for dynamic controls??


> hi,
>
> thank u ...that really solved my problem of getting the reference of
> controls. In one file, dynElements.c, if I write wrapper functions for
> all the dynamic elements then in another file I am doing event handling.
> Using FrmSetEventHandler(form,DynamicUIHandleEvent) I am setting the
> event for the form.
>
> My problem is when I say EvtGetEvent(&event,-1) it gives a messages saying
>
> "SampleApp" 1.0 has just read directly from an unallocated chunk of
memory...
>
> Am unable to figure where the problem can be....can anyone please tell
> me where I went wrong....
>
>
> thanks,
>
> Anuradha
> Avantel Softech Ltd.
>
>
>
> __________________________________________________
> FREE voicemail, email, and fax...all in one place.
> Sign Up Now! http://www.onebox.com
>
>
> --
> 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