在VB应用程序之间进行通信Cygwin应用程式 [英] Communicating between a VB app & Cygwin App
本文介绍了在VB应用程序之间进行通信Cygwin应用程式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有两个程序,一个是我用vb 2008制作的简单记事本应用程序,另一个是(moses),它是我使用cygwin在Windows中编译的开源统计机器翻译程序.我如何将命令从我的vb应用程序发送到使用cygwin运行的Moses? PS摩西应用程序是命令行,没有GUI.
I have two programs, a simple notepad application that i made using vb 2008, and (moses) which is an open source statistical machine translation program that i have compiled in windows using cygwin. How can i send commands from my vb application to the moses which runs using cygwin? P.S The moses application is command line and has no GUI.
推荐答案
使用进程间通信(IPC)-此 ^ ]指定标准的Windows IPC机制并提供C ++实现.
我认为命名管道将是一个不错的选择-在 VB [
Use Inter-Process Communications (IPC) - this article[^] specifies the standard Windows IPC mechanisms and gives C++ implementations.
I think that named pipes would be a good bet - they are available in VB[^] as well.
这篇关于在VB应用程序之间进行通信Cygwin应用程式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文