View Full Version : Not directly OpenGL related but...

04-12-2002, 12:32 AM
I'm trying to access the field ".class" from structure XVideoInfo.
When I try to compile gcc tells me that he has a problem with the word "class".
I think, gcc is accepting the word as the begining of a new class declaration which is not the goal of the manip'...

The question is : how can I access a structure (struct) field via the adress of the main structure ?

i'm using glx function so it's a little OGL-related isn't it ? ;P


04-12-2002, 12:55 AM
I found : I'm using memcpy() !

sorry for the post...