Home away from home
Joined: 2006/11/30 18:43 Last Login
: 11/8 22:21
From Norway
Group:
Registered Users
|
I'm trying to set a string gadget for user to type into. But when i try to compile it gives me an error. I have the same code in another project and works there. Has it something to do with the fact that i'm using gmake and the other i use make? Setting up the gadget is no porblem. Here's the checking code and error message.
case GID_MAXNED: snprintf(test,1024, "%s", ((struct StringInfo *)(gadgets[GID_MAXNED]->SpecialInfo))->Buffer); printf("test=%s\n",test); break;
error: request for member 'SpecialInfo' in '* gadgets[9]', which is of non-class type 'long unsigned int'
Any help here would be VERY helpfull for me.
|