Private Function GetSPMGroup(ByVal strGrpName As String, ByRef blnExists As Boolean) As COMSVCSLib.SharedPropertyGroup
Dim spmMgr As New COMSVCSLib.SharedPropertyGroupManager
Set GetSPMGroup = spmMgr.CreatePropertyGroup(strGrpName, LockSetGet, Process, blnExists)
Set spmMgr = Nothing
End Function上面的例子中CreatePropertyGroup后面的2,3,4参数代表什么意思?????解释具体些
另外在使用过程中我好像有次我用
Dim spmMgr As COMSVCSLib.SharedPropertyGroupManager
没有set new也能用???
Dim spmMgr As New COMSVCSLib.SharedPropertyGroupManager
Set GetSPMGroup = spmMgr.CreatePropertyGroup(strGrpName, LockSetGet, Process, blnExists)
Set spmMgr = Nothing
End Function上面的例子中CreatePropertyGroup后面的2,3,4参数代表什么意思?????解释具体些
另外在使用过程中我好像有次我用
Dim spmMgr As COMSVCSLib.SharedPropertyGroupManager
没有set new也能用???
http://msdn2.microsoft.com
不就可以搜索了……