不是在工程->引用里添加的,除非你的是COM DLL
是这样的:
Declare Function myFunc Lib "minmax.dll" (byval x as Integer,byval y as integer)as IntegerPrivate Sub Form_Load()
y = 1
x=2
x = myFunc(x,y)
Print x
End Sub
是这样的:
Declare Function myFunc Lib "minmax.dll" (byval x as Integer,byval y as integer)as IntegerPrivate Sub Form_Load()
y = 1
x=2
x = myFunc(x,y)
Print x
End Sub
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货