It may have to do with the GetInstance() function, rather than anything else - try assigning GetInstance() to a variable, and then use the variable to call GetClassAttributes(). See if that changes anything.
Granted, this is kinda a shot in the dark - but it seems possible.
|