【发布时间】:2020-01-04 00:30:24
【问题描述】:
我写了一个 vb.net DLL。 DLL 工作正常并在数组中创建一组变量
如何从调用dll的主项目中读取数组?
Example
Tmp0(1) = Dg(5) 'Urb
Tmp0(2) = Dg(6) 'Line 1
Tmp0(3) = Dg(7) 'Line 2
Tmp0(4) = Dg(100) 'Type of unit
''This is calling the DLL
Dim direccion As New DirStd.DirScr(Tmp0)
direccion.ShowDialog()
'The Tmp0 array goes fine to the DLL
'but when I read it
Tmp0(9) = direccion.getDir()
我没有收到新值,只有我发送的值
请帮忙
爱丽儿
【问题讨论】: