Not directly OpenGL related but

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 ? :stuck_out_tongue_winking_eye:

regards

I found : I’m using memcpy() !

sorry for the post…

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.