| | |
passing int as 64 bit integer to COM
![]() |
•
•
Join Date: Nov 2008
Posts: 1
Reputation:
Solved Threads: 0
Hi,
I have some oython application which uses some COM server.
on of the functions in the COM servers expects getting 64 bit unsigned integer (i.e. VT_UI8), but the problem is that python automatically converts 'small' integers to 32 bit integers (even if casting them to long) anf this leads to some error at the COM server (it gets a VT_UI4 type where it expects VT_UI8). Is there a way to force python to create 64 bit integer?
Thanks,
Neta
I have some oython application which uses some COM server.
on of the functions in the COM servers expects getting 64 bit unsigned integer (i.e. VT_UI8), but the problem is that python automatically converts 'small' integers to 32 bit integers (even if casting them to long) anf this leads to some error at the COM server (it gets a VT_UI4 type where it expects VT_UI8). Is there a way to force python to create 64 bit integer?
Thanks,
Neta
![]() |
Similar Threads
- Question about Random Number Generators (C++)
- Assigning variables from csv files.. (C++)
- OpenGL (Game Development)
Other Threads in the Python Forum
- Previous Thread: Perfect number - python
- Next Thread: Help with finding out if a program exists in os path entries
| Thread Tools | Search this Thread |
alarm ansi anydbm app assignment backend beginner binary bluetooth character cipher cmd coordinates curves customdialog cx-freeze data decimals development directory exe feet file float format function generator getvalue gnu halp handling heads homework ideas input ip itunes java keycontrol leftmouse line linux list lists loop maintain maze millimeter module mouse number numbers output parsing path pointer prime programming push py2exe pygame pymailer python queue random recursion recursive schedule screensaverloopinactive script searchingfile slicenotation sqlite ssh statistics string strings sudokusolver text thread time tlapse tooltip tuple type ubuntu unicode url urllib urllib2 variable ventrilo vigenere web webservice wikipedia write wxpython xlib xlwt





