0
我試圖從一個DLL調用函數DLL使用Python
function oziRepositionWP(Number:integer;lat,lon:double):integer;stdcall;
我寫的代碼在python
no = c_int(1)
lat = c_double(34.00962)
lon = c_double(74.80067)
var =windll.OziAPI.oziRepositionWP(byref(no),byref(lat),byref(lon))
,但我得到的消息
var =windll.OziAPI.oziRepositionWP(byref(no),byref(lat),byref(lon))
ValueError: Procedure probably called with not enough arguments (8 bytes missing)
我在哪裏我出錯請幫忙
你說得對,謝謝親愛的朋友 – user1182015 2012-07-25 14:02:20