i have this problem...
i have a my struct:
typedef struct Mystruct{
float a;
float b;
}
and a static method:
float static MyStaticMethod(MyStruct a, MyStruct b);
when i call this method:
Mystruct s;
s.a = 1;
s.b = 2;
Mystruct t;
t.a = 1;
t.b = 2;
MyClass.MyStaticMethod(s,t);
i have this error at compile time:
Error 51 error C2228: left of '.MyStaticMethod' must have class/struct/union
Error 50 error C2275: 'MyClass' : illegal use of this type as an expression