wxActiveX::GetTypeInfo() contains loop only for
methods. As a result only functions are visible, not
properties.
The following (not generic) code works for me (if added
before line for (int i = 0; i < ta->cFuncs; i++)):
for (int i = 0; i < ta->cVars; i++) {
VARDESC FAR *vd = NULL;
typeInfo->GetVarDesc(i, &vd) ;
BSTR bstrProperty = NULL;
typeInfo->GetDocumentation(vd->memid, &bstrProperty,
NULL, NULL, NULL);
wxString propName(bstrProperty);
m_props.push_back(PropX());
int idx = m_props.size() - 1;
m_propNames[propName] = idx;
m_props[idx].name = propName;
m_props[idx].memid = vd->memid;
ParamX param;
param.isSafeArray = false;
param.isPtr = false;
param.flags = vd->elemdescVar.idldesc.wIDLFlags;
param.vt = vd->elemdescVar.tdesc.vt;
m_props[idx].arg = param;
m_props[idx].type = param;
}