Hi,
I have two structs and I would like to assign a pointer from t_TMSG to an address in t_TAG.
But the problem is i dont get the correct address.

typedef struct {
WORD tag;
WORD opr;
DWORD unit;
LPCTSTR text;
} t_TAG;

typedef struct {
long tag;
LPCTSTR text;
} t_TMSG;


t_TAG* pTag = SomeFunction(); //assuming pTAg is loaded with values
t_TMSG *pTMsg = (t_TMSG*)(pTag + sizeof(WORD) + sizeof(WORD) ); // i get the wrong address here.


Please help