T
Toysun
Unregistered / Unconfirmed
GUEST, unregistred user!
同一个dll里面同一个函数,vc++里面正常返回,delphi就没有返回值
怎么这么奇怪呢?我看了下汇编,看不懂........这是什么原因呢?
哪位大哥给点建议?..........
vc++:
POINT pt= fpGetLedPos();
m_X = pt.x;
m_Y = pt.y;
UpdateData(FALSE);
delphi:
var
pt:TPoint;
begin
pt:=fpGetLedPos;
edtX.Text := IntToStr(pt.x);
edtY.Text := IntToStr(pt.y);
end;
怎么这么奇怪呢?我看了下汇编,看不懂........这是什么原因呢?
哪位大哥给点建议?..........
vc++:
POINT pt= fpGetLedPos();
m_X = pt.x;
m_Y = pt.y;
UpdateData(FALSE);
delphi:
var
pt:TPoint;
begin
pt:=fpGetLedPos;
edtX.Text := IntToStr(pt.x);
edtY.Text := IntToStr(pt.y);
end;