Top > SoftTSQ-bugtrack > 18 EchoLinkソフトウェア終了と連動
メッセージEchoLinkの制御を出来るようにし、運用している場合
お返事きたよ。We haven't yet published any examples using .NET languages, but this is a strong possibility for a future release, or on the Web site. Check the Web site occasionally for updates. やったことないってさ。笑 近い将来にWebに公開するので、ちょくちょく見に着てね ってかいてあるよね?笑
I don't have a Managed C++ example, but here is how it might be done in the C# language: EchoLink.EchoLinkSession _ELSession; private void button1_Click(object sender, EventArgs e) { // connect to EchoLink (start up EchoLink if it isn't already running) _ELSession = new EchoLink.EchoLinkSession(); // register a handler for the Closing event _ELSession.Closing += new EchoLink._IEchoLinkSessionEvents_ClosingEventHandler(_ELSession_Closing); } public void _ELSession_Closing() { // de-register the handler for the Closing event _ELSession.Closing -= _ELSession_Closing; // invalidate our reference to EchoLink _ELSession = null; System.Windows.Forms.MessageBox.Show("EchoLink has closed"); } 体裁が整ってないけど、ごめん。 COMイベント登録やっと分かりました。近日中にバージョンアップします。 SoftTSQ-bugtrack/32で公開します。 |