Hi,
I'm a c/c++ developer and I'm new to iPhone programming.
I'm trying to convert a program to iPhone and wish to use existing code where possible. I have the following problem:
In a header file I have the following:
I get an error on the bottom line:
error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
How can I solve this??
Thanks
I'm a c/c++ developer and I'm new to iPhone programming.
I'm trying to convert a program to iPhone and wish to use existing code where possible. I have the following problem:
In a header file I have the following:
Code:
typedef unsigned long DWORD;
typedef unsigned short WORD;
typedef unsigned int UINT;
typedef struct tagMSG_VIRTUAL{
DWORD dwType; // message type
WORD wVersion; // the version number for the message. Filled in by the derived(or real) message
WORD wReserve2; // Reserve1
DWORD wReserve1; // Reserve2
} MSG_VIRTUAL;
typedef tagMSG_VIRTUAL* LPMSG_VIRTUAL; // I get error here
I get an error on the bottom line:
error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
How can I solve this??
Thanks