내 .NET 프로젝트 (WinForms)에서 agsXMPP를 사용 중입니다. 다음 코드 블록이 있습니다. 이는 클라이언트에서 메시지를받을 때마다 실행됩니다. 메시지를 수신 할 때마다이 블록이 실행되고 프로그램이 종료됩니다. : 무슨 일이 일어나는지 전혀 모르겠습니다. 도움이 되셨습니까? agsXMPP 내가, 생성 된 EXE 파일을 실행하면 편집이 *이 *** 지금,이 이벤트는 "하지 완료된 후 .NET Winform 프로그램 끝 서브에 대한 유효한 이유없이 종료
** 작동하는 스레드)
Private Sub messageReceived(ByVal sender As Object, ByVal msg As protocol.client.Message)
Dim chatMessage() As String
Static Dim Hi_ed As Integer = 0
chatMessage = msg.From.ToString.Split("/")
Dim chatSender As String = chatMessage(0)
If Not IsWorking Then
IsWorking = True
If Not ProcessCommands(msg.Body, chatSender) Then
Dim sStr As String = ParseEnglish(msg.Body)
Select Case sStr
Case "HI"
If Hi_ed = False Then
SendGTalkMsg("Hi. How do you do?", chatSender)
Hi_ed = True
Else
SendGTalkMsg("हाय वाई कुछ नहीं हम तो !!!", chatSender)
End If
Case "DETAILS PLEASE"
SendGTalkMsg(". Currently there are N no of sams running on me: :)", chatSender)
End Select
End If
IsWorking = False
Exit Sub
Else
SendGTalkMsg("I'm working right now. Please have patience.", chatSender)
End If
End Sub
를 캡슐화 ~ 레스포 nding "오류가 발생합니다. 이는 예외가 있음을 의미하지만 try catch 블록을 벗어 났음을 의미합니다. :(
이것은 내가 오류입니다.
Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: updatecheck.exe
Problem Signature 02: 1.0.0.0
Problem Signature 03: 4e8ed73e
Problem Signature 04: mscorlib
Problem Signature 05: 4.0.0.0
Problem Signature 06: 4dd23522
Problem Signature 07: 1526
Problem Signature 08: 4f
Problem Signature 09: System.InvalidOperationException
OS Version: 6.1.7600.2.0.0.256.1
Locale ID: 1033
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
Read our privacy statement online:
http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409
If the online privacy statement is not available, please read our privacy statement
offline:
C:\Windows\system32\en-US\erofflps.txt
나는 그것을 시도했다. (모든 콜백을 잡아라. ..하지만 모두 헛되다. :() –