> 2) VBA was giving me an error like "Expecting 3 return values, got: 2" > whenever a function contained an [in, out] parameter. It looks like the > extra parameter it is looking for is the HRESULT signifying the success of
There should be no need to return a HRESULT - but note that the nominated return value must be the *first* value returned, with [out] params following in the order they were declared. As a result, method4 really should only need 2 return values - I'm not sure why it seems to want more. If you can provide a patch to the pippo sample that demonstrates your problem I can dig deeper. Mark _______________________________________________ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32