Mitch.. if you are using gcc, the bcopy() function is used when
  you send structures as arguments.. PalmOS uses MemCopy(), 
  if you want it to compile and work under PalmOS, you can write
  a new function definition for it..

  (or link with -static (i think))

az.
--
Aaron Ardiri 
Lecturer                       http://www.hig.se/~ardiri/
University-College i G�vle     mailto:[EMAIL PROTECTED]
SE 801 76 G�vle SWEDEN       
Tel: +46 26 64 87 38           Fax: +46 26 64 87 88
Mob: +46 70 352 8192           A/H: +46 26 10 16 11

On Fri, 11 Jun 1999, Fawcett, Mitch wrote:

> Sorry for asking a basic programming question on this forum but it is
> relevant that I ask fellow Palm programmers.  I have two "C" books with
> conflicting information regarding passing a structure as an argument in a
> function.  One says I can pass an instance of a structure, the other says I
> can't and I should pass a pointer instead.  I'm having problems with some
> code I am writing that involves structures so I would like to get this
> clarified before I go much further.  
> 
> What rule does Palm OS apply with regard to passing structures in functions?
> 
> Thanks.
> 
> 

Reply via email to