First off, let me say that I'm rather unfamiliar with the Microsoft programming environment.
But in any case, I wanted to take the Optitrack sample VC code and try out using Vector2 instead of Vector. Given that it's a derived class, I figured that I could just add '2's where appropriate, but of course this did not work, or else I wouldn't be here.
So did you guys forget to declare a CLSID for NPVector2, or should I be doing something completely different?
Why no CLSID_NPVector2 ?
Re: Why no CLSID_NPVector2 ?
So I tried just changing the definition of m_spVector in CameraDlg.h while leaving the call to the CoCreateInstance unchanged, and that seems to work. I think. Why does Microsoft have to make everything harder?