通过foxtable调用了其他dll 初步成功,但要获得其中的每个字符串属性(参数),需要按开发文档要求进行拆分,给的示例代码是VB的,请问如何转换为foxtable代码来实现?
部分代码如下:
Mpase.bas
Option Explicit
Private Const 'cC'--不加单引号发不上来
Private Const cUserName="UserName"
Private Const CuserID="UserID"
Private Const cDBMSName="DBMS Name"
Private Const cDBMSVersion="DBMS Version"
Private m_colParse As Collection
Private m_sParseString As String
Public Property Get PropsString() As String
PropsString=m_sParseString
End Property
Public Property Get UserName () As String
UserName=GetProperty(cUserName)
End Property
Public Property Get UserID() As String
UserName=CInt(GetProperty(cUserID))
End Property
Public Property Get ConDBMSName () As String
ConDBMSName=GetProperty(cDBMSName)
End Property
Public Property Get ConDBMSVersion () As String
ConDBMSVersion=GetProperty(cDBMSVersion)
End Property
....
[此贴子已经被作者于2017/3/27 22:47:49编辑过]