> Yeah, I tried using that.  The problem that I come up with is that as soon
> as I switch all of my files to using mypilot.h  Invariably one of them
> starts acting like it can't see pilot.h. (It has no idea what a FrmPtr is
> and similar things.)  Maybe I don't understand this, but I though that the
> only way Pilot.h wouldn't be loaded was if the ocmpiler had already loaded
> it.  If the compiler had already loaded it, then it should know what the
> heck a FrmPtr is.  Hmmm.  what do you think I'm doing wrong.

Most headers have a guard in them to prevent reloading its definitions.  It
usually looks like this:

#ifndef SOME_SYMBOL_GOES_HERE
#define SOME_SYMBOL_GOES_HERE

/* all definitions belonging to this header */

#endif


I think (but don't quote me) the problem is that Pilot.h doesn't do this.  I
haven't looked lately, so I might be wrong.

---- --- -- -
Matthew D Moss
[EMAIL PROTECTED]



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to