try...

typedef struct{
     UInt16 ptNum;
     char desc[30];
     double northing;
     double easting;
 } ptType;

~Tony

Sincerely,

Tony Janke
Design Engineer II
Rockford Corporation
600 S. Rockford Dr.
Tempe, AZ 85281
480.337.1539
[EMAIL PROTECTED]



"There are 10 kinds of people in this world...those who understand binary and 
those who don't."


Information contained in or attached to this e-mail may be privileged, 
confidential, and protected from disclosure.  If you are not the intended 
recipient of this e-mail, any review, dissemination or copying is prohibited.  
If you receive this message in error, please e-mail the sender immediately and 
delete the message and any attachments.  Thank you.  


>>> [EMAIL PROTECTED] 09/19/05 7:23 PM >>>
I'm getting errors when I try to declare the following structure.  Any 
variable that I declare as ptType is unrecognized by the compiler and 
debugger.  I've included <PalmOS.h> as required. Signed integers (ie Int16, 
Int32, etc) are also unrecognized. Another curious thing happens when I add 
<PalmTypes.h>. It recognizes the signed integers but not the structure even 
though the inclusion of PalmOS.h should do it.  Anyone have similar 
problems? The include directories are done correctly as far as I know.


 struct ptType {
     UInt16 ptNum;
     char desc[30];
     double northing;
     double easting;
 } ptType;

ptType point; (won't recognize this)

Jim Haines 

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


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

Reply via email to