I cannot get to find out why the attached code is not working. MyObject is a MFC Automation Class (Visual Studio 2008). It contains just one function that works just fine on my scripting host. So the ODL file looks fine.
But I just cannot find out how to provide the class info so that I can use GetTypeInfoOfGuid.
Thank You for your help!
HRESULT hr=m_Obj.GetTypeInfoOfGuid(lc, clsid, &ppti);