--- In [email protected], "entropyreduction" <alancampbelllists+ya...@...> wrote: >
> --- In [email protected], "Sheri" <sherip99@> wrote: > > > > > Some research reveals suggests the possibility to query for an error object > > when invokes return. Have a look at IErrorInfo both at msdn and > > <http://www.devguy.com/fp/Tips/COM/> and see if of any value. > Invoke on an IDispatch looks like > > HRESULT Invoke( > DISPID dispIdMember, > REFIID riid, > LCID lcid, > WORD wFlags, > DISPPARAMS FAR* pDispParams, > VARIANT FAR* pVarResult, > EXCEPINFO FAR* pExcepInfo, > unsigned int FAR* puArgErr) > > I send in both &ExcepInfo and &uArgErr, but they never seen to come back with > anything but NULL. Ah, IErrorInfo, not EXCEPINFO. I missed IErrorInfo, thanks for heads up. It's a bit of a pig to use, and I haven;t yet figgered out how to release one once I got one, but will pursue. Saw your report on set_arg_types and way to get a crash by referring to ActiveSheet when no Worksheets are open. Ta, will pursue.
