[python-win32] Input-only vs. In/Out Function Parameters

Smith, Brian (CR) smithbk at aecl.ca
Wed Oct 11 19:55:45 CEST 2006


> My platform is Win XP Pro (SP2), Python 2.3.4, pywin Build 210.  I'm
testing
> using VBA in MS Excel 2000.
 
A bit more info...
 
I wanted to eliminate the older version of VBA as a possible source of the
problem so I downloaded Visual Basic 2005 Express Edition and tried the same
VB code.  Unfortunately, I still have the same problem: the Python COM
object
must return the function return value last instead of first and it must also
return an extra initial parameter which VB seems to be interpreting as the
HRESULT of the COM call itself.
 
If I use the object browser in the VB IDE, the object's methods appear to
have
the correct signatures.  To gain access to the object, I am simply adding a
reference to it for the project.
 
Thanks,
Brian

CONFIDENTIAL AND PRIVILEGED INFORMATION NOTICE

This e-mail, and any attachments, may contain information that
is confidential, subject to copyright, or exempt from disclosure.
Any unauthorized review, disclosure, retransmission, 
dissemination or other use of or reliance on this information 
may be unlawful and is strictly prohibited.  

AVIS D'INFORMATION CONFIDENTIELLE ET PRIVILÉGIÉE

Le présent courriel, et toute pièce jointe, peut contenir de 
l'information qui est confidentielle, régie par les droits 
d'auteur, ou interdite de divulgation. Tout examen, 
divulgation, retransmission, diffusion ou autres utilisations 
non autorisées de l'information ou dépendance non autorisée 
envers celle-ci peut être illégale et est strictement interdite.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-win32/attachments/20061011/44b65bc8/attachment.html 


More information about the Python-win32 mailing list