vb窗体公共过程使用模块中定义的类型解决思路
vb窗体公共过程使用模块中定义的类型
请帮忙解决一下
------解决方案--------------------
把结构体定义成类模块。
或者,作为 ByRef 参数传递进来。
- VB code
'Module1.bas Type infp a As Integer b As Integer End Type
- VB code
'Form1.frm Dim a1 As info Public Function Send() As info '有错 Send = a1 End Function
请帮忙解决一下
------解决方案--------------------
把结构体定义成类模块。
或者,作为 ByRef 参数传递进来。