我在VFP编程下调用的就是用DELPHI编制的动态链接库,问题是:调用dll时,要求传递一变量值。调用完毕,要求返回一变量值。在DELPHI和VFP之间传递变量值时,会出错?如下:
DECLARE string myinstr IN "d:/mydll.dll" integer,integer
a=val(alltr(ThisForm.Text1.value))
b=val(alltr(ThisForm.Text2.value))
ThisForm.Label1.caption=alltr(myinstr(a,b))
DECLARE string myinstr IN "d:/mydll.dll" integer,integer
a=val(alltr(ThisForm.Text1.value))
b=val(alltr(ThisForm.Text2.value))
ThisForm.Label1.caption=alltr(myinstr(a,b))
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货