想请教一下与识别的高手们,以下的语句
SR_Context.Recognition = New SpeechLib._ISpeechRecoContextEvents_RecognitionEventHandler(AddressOf RecoContext_Recognition)
为什么在VB2005里不行的。SR_Context为ISpeechRecoContext,为什么Recognition不是它的成员,而且_ISpeechRecoContextEvents_RecognitionEventHandler不属于SpeechLib,为什么?在C++里行的啊~~~如果要写这个,在VB里应该怎么写?或者更确切的问,我写了下面一个Sub:
Private Sub RecoContext_Recognition(ByVal StreamNumber As Integer, ByVal StreamPosition As Object, ByVal RecognitionType As SpeechLib.SpeechRecognitionType, ByVal Result As SpeechLib.ISpeechRecoResult)
        SR_result = Result.PhraseInfo.GetText(0, -1, True)
End Sub
怎么在程序里运用它?谢谢!!!