So I am using an interface where the .idl looks like this:
HRESULT getVersion(
[in, out] BSTR* Version,
[in, out] BSTR* error,
[out, retval] VARIANT_BOOL* );
[id(0x60030002)]
Now, I ran makepy, and tried to use this. The use is supposed to be to call
with two pointers and the function will populate those two pointers.
I tried calling it as
res, ver, err = o.getVersion(None, None)
that puts empty strings into ver and err and returns false. Trying
res, ver, err = o.getVersion()
results in a traceback complaining about parameters not being optional.
Is it possible to do this with python?
_________________________________________________________________
Valentines Day -- Shop for gifts that spell L-O-V-E at MSN Shopping
http://shopping.msn.com/content/shp/?ctId=8323,ptnrid=37,ptnrdata=24095&tcode=wlmtagline
_______________________________________________
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32