Hello,

I have a question regarding to how Data type is being converted into COM
object.

For example, there is a function A in one COM object that requires an
Unsigned 32 bit Integer as a parameter. How could I pass a Long Integer in
python to Function A.

I found that if the parameter is smaller or equal to ( 2^31 -1 ), the
parameter is correctly passed to Function A. Any value that bigger than ( 2
^31 - 1) will be interpreted as 0xFFFFFFFF. Does Python Win32 COM has its
own data conversion if the data type of the passed parameter is different
from the data type of the required parameter. If yes, how python win32 COM
does the conversion?

Thanks


Chen
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to