passing int as 64 bit integer to COM

Reply

Join Date: Nov 2008
Posts: 1
Reputation: neta_s is an unknown quantity at this point 
Solved Threads: 0
neta_s neta_s is offline Offline
Newbie Poster

passing int as 64 bit integer to COM

 
0
  #1
Nov 27th, 2008
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
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC