Andrew,
I was able to define a similar structure:
typedef struct
{
UInt8 a;
UInt8 b;
UInt8 c;
UInt8 d;
} InetAddress;
I declared a static instance of this in a source file, all without trouble.
I used UInt8's because I am working with 3.5. As far as I can tell there is
nothing in the 3.5 headers to cause a problem. What version are you working
with?
Are you sure that it is the definition of the structure that's causing you
problems? Perhaps you are duplicating a function or variable name?
Greg
----- Original Message -----
From: Andrew Lathrop <[EMAIL PROTECTED]>
Newsgroups: palm-dev-forum
To: Palm Developer Forum <[EMAIL PROTECTED]>
Sent: Thursday, August 10, 2000 3:28 PM
Subject: InetAddress
> Does any one know if the Palm OS declares InetAddress anywhere? I have
> tried to use the struct
>
> typedef struct
> {
> Byte a;
> Byte b;
> Byte c;
> Byte d;
> } InetAddress;
>
> in a header file, but yet i always get illegal name overloading. I tried
to
> look through the reference and companion docs, but nothing came up when i
> searched for InetAddress. I only declare the struct once in a header that
> is included in all my c files and other headers. For example, I use the
> struct in the following ways
> InetAddress IpAddrStringToInetAddress( char str )
> InetAddress getSrcAddress( InetAddress dstAddr )
> InetAddress temp;
> Basically as a variable, and a return type. Any ideas? Thanks
> Andrew
>
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/