我正在尝试从 DLL 调用函数
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)
我哪里错了请帮忙