i have a function i have inside a commonfunc.c (w/a header decl'ing it).  in
my start i call it and the third param is a 'sizeof(struct)'.  the sizeof
returns and passes its value correctly but when i call the same function
from another file (not common or starter),  i pass the sizeof(struct) as the
3rd param and it passes 0.  as if the structs size is 0.  now,  to go around
this i decl'ed an int and before calling the func i place the
sizeof(mystruct) in the int.  then pass that int and it works.

does anyone have a clue why this might be happening?  i circumvented the
problem but not actually solved it.

any help appriciated.

Charles R


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