I am not so sure but I guess it may be not the problem if the way u add
event. It may concern the actually "location" of your event pointer myEvent.
Does your routine lay in the somewhere werid? Like ISP?



"Andy Black" <[EMAIL PROTECTED]> ���g��l��
news:55398@palm-dev-forum...
>
> Hello again,
>
> I am trying to add an event to the event queue (I decided it was easier to
> do than rewrite the code in that part of my main form's event loop) and I
> keep getting an erro is POSE that my program is trying to access low
> memory. Is there a better way to add events? Code as follows:
>
>
> EventType myEvent;
>
> MemSet (&myEvent, sizeof(EventType),0);
> myEvent.eType = ctlSelectEvent;
> myEvent.data.ctlSelect.controlID = MainCalcButton;
>
> EvtAddEventToQueue (&myEvent);
>
>
> Thanks,
>
> Andy
>
>



-- 
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