VB6.0 输入如下代码,显示 编译错误:成员标识符已存在于导出此对象模块的对象模块中 求解决方法
PrivateTypepointpnAsStringXAsDoubleYAsDoubleZAsDoubleEndTypePublicEAsDoublePublicFAsD...
Private Type point
pn As String
X As Double
Y As Double
Z As Double
End Type
Public E As Double
Public F As Double
Public e2 As Double
Public i As Integer
Public BLH() As point
Public XYZ() As point
Public xyH() As point 展开
pn As String
X As Double
Y As Double
Z As Double
End Type
Public E As Double
Public F As Double
Public e2 As Double
Public i As Integer
Public BLH() As point
Public XYZ() As point
Public xyH() As point 展开
展开全部
Private Type point
pn As String
X As Double
Y As Double
Z As Double
End Type
在某个模块里定义过吗?
改成以下试试??
Public Type point
pn As String
X As Double
Y As Double
Z As Double
End Type
pn As String
X As Double
Y As Double
Z As Double
End Type
在某个模块里定义过吗?
改成以下试试??
Public Type point
pn As String
X As Double
Y As Double
Z As Double
End Type
追问
没有在其他模块里定义过
如果改为public type
则提示 编译错误:在私有对象模块中不能定义public的用户定义类型
追答
你在模块里写的还是在class里写的啊。
没法判断你的问题了。
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询