--- In [email protected], "Sheri" <sheri...@...> wrote: > > > So does > > > > h = appref.Selection.Item(1) > > > > generate type mismatch error? > > Yes > > > > > If so, I need results from > > > > h = appref.Selection > > h.get_object_description("fn") > > (not all of it, just tell me type of parameter supplied to Item; or use > > your favour type analyser to get same info). > > Selection is an Object > The listing from h.get_object_description("fn") includes: > > get property: IDispatch* Item(VARIANT index)
Yeah, thought so. VARIANTs are a pain. I think the idea is the server is supposed to take on responsibility of figuring out what kind of data got sent, and coercing it to the type desired. I dealt with VARIANT* (variant passed by ref), will do variant by value next week.
