So, I've inherited an MFC application compiled with VS2008, none of the original authors are around. I've forgotten a lot about COM and MFC, but I have to reverse engineer it and make some modifications. Some of the functionality is seems to be executed via InvokeHelper calls. Such as the one below.
I think this accesses a COM object, correct? So somewhere somehow the application must be pointed at this object, maybe with a complementary call? Or a reference? Can someone tell me where in an MFC program I can figure out what COM object this is calling?
Thanks, I think if someone answers this specific question then maybe the rest of it will come back to me. :)
(And please, I appreciate all answers but don't point me towards general doc on COM interop, I'm sure that would take me hours to pore through, and I'm looking for a quick answer to this specific question. Thanks.)
void CLsDisplay::StartAnimation(double dAngleRangeDeg, long nFrames, long nSeconds)
static BYTE parms =VTS_R8 VTS_I4 VTS_I4;
InvokeHelper(0x9, DISPATCH_METHOD, VT_EMPTY, NULL, parms, dAngleRangeDeg, nFrames, nSeconds);