| | |
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 |
abrupt ansi anti apache approximation array assignment avogadro backend beginner binary bluetooth book builtin calculator character code converter countpasswordentry curved customdialog dan08 dictionaries dictionary dynamic examples exe file float format function gnu graphics gui heads homework ideas import inches input java launcher library line lines linux list lists loop mouse mysqlquery number numbers numeric output parsing path phonebook plugin pointer port prime programming progressbar projects py2exe pygame python random recursion redirect scrolledtext software statictext statistics string strings sum table terminal text textarea thread threading time tlapse trick tricks tuple tutorial twoup ubuntu unicode urllib urllib2 variable wordgame write wxpython xlib





