Win32-COM pass by ref for long arguments

Stephen Prinster prinster at mail.com
Fri Sep 24 16:16:28 EDT 2004


Victor Ng wrote:
> My call is using an initial value of pythoncom.Empty for hTableRef,
> but I'm getting the following stacktrace from within the PythonCOM
> library:
>   
Have you tried pythoncom.Missing instead of pythoncom.Empty?  I don't 
know what the difference is, but I remember seeing a comment in a 
makepy-generated file about trying both because sometimes one works 
better than the other.



More information about the Python-list mailing list