Ok, for the program I'm writing for myself, I need to
pull the text
entered in 5 fields down so it can be stored in a
struct - the way
i'm going about it is getting the field pointer, then
the text
pointer, then storing the text in the struct using
StrCopy.  I'm
getting a bus error, though, and I've been able to
trace the address
where the bus error occurs to a part of the form
pointer - I don't
remember the exact order, but if the FormPtr is called
frmP, the bus
error occurs at the location of frmP->objects->object
(I might have
them switched around, though - it's something to that
effect).  Now
I've used this function in another program, but it
wasn't in the
event handler in that program like it is here - in the
other program,
where it works fine, it's in MainFormInit.  There are
no other
differences in the usage of the function, just the
location of the
function call - would that make a difference?  Or
would you guys need
to see the source code?  Much obliged for any help you
can give...

-Craig


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

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

Reply via email to