Exp=a
@end
                                                       
'Ini_2:(ע⣺뱻ȵãúiniһͬʹá
'1ûȨŵĸ߰λ
'2ûȨŵĵͰλ
'ĿģʹȨŵķʽǷûдڣʾûûڳʼʱһҪʹδ
Public Sub Ini_2(ByVal HKey As String,ByVal LKey As String)
KeyPath = Space$(260)
 LastError = 0 'ʼΪ޴
 Dim result As Integer'
'δûǷ
 result=FindPort_4("@f",@p,HKey,LKey,KeyPath)
Dim nPos As Long
nPos = InStr(KeyPath, vbNullChar)
If nPos > 0 Then
     KeyPath = Left$(KeyPath, nPos - 1)
End If
 If result<>0 Then
    If result = -201 Then
        MsgBox "ҲָļļļǷڳĿ¼¡ǿģʽ£ļǷVBڵĿ¼¡"
    Exit sub
    End If
    MsgBox "ڶӦûӦû", vbOKOnly, ""
 End If
End Sub
