进程间数据交换 [英] Interprocess data exchange

查看:84
本文介绍了进程间数据交换的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在进程之间交换数据的首选方法是什么?

示例:

我有2个应用程序(C#)

1)WinForms (A)

2)命令行(B)

他们都使用DataLayer(类库)C


A来电运行B(通过执行)

B将数据加载到C

A从C读取数据

如何告诉C保存数据并为两个应用程序提供服务(A + B)

现在A从数据中告诉C中的类空了....



谢谢你。

What is the preferred way to exchange data between processes?
Example:
I have 2 applications (C#)
1) WinForms (A)
2) Command Line (B)
Both od them use DataLayer (class library) C

A calls to run B (via exec)
B loads data into C
A reads data from C

How to tell C to save data and serve both of applications (A+B)
Right now A told than the class in C empty from the data....


Thank you\

推荐答案

您好Tamir,


这个神奇的词将是远程的。


-

Miha Markic - RightHand .NET咨询&开发

miha at rthand com


Tamir Khason < TA ********** @ tcon-NOSPAM.co.il>在消息中写道

新闻:%2 ****************** @ TK2MSFTNGP09.phx.gbl ...
Hi Tamir,

The magic word would be remoting.

--
Miha Markic - RightHand .NET consulting & development
miha at rthand com

"Tamir Khason" <ta**********@tcon-NOSPAM.co.il> wrote in message
news:%2******************@TK2MSFTNGP09.phx.gbl...
在进程之间交换数据的首选方法是什么?
示例:
我有2个应用程序(C#)
1)WinForms(A)
2)命令行(B)<他们都使用DataLayer(类库)C

运行B的调用(通过exec)
B将数据加载到C中
A从C读取数据如何告诉C保存数据并同时为两个应用程序提供服务(A + B)
现在A告诉比C中的类空数据....


谢谢你。
What is the preferred way to exchange data between processes?
Example:
I have 2 applications (C#)
1) WinForms (A)
2) Command Line (B)
Both od them use DataLayer (class library) C

A calls to run B (via exec)
B loads data into C
A reads data from C

How to tell C to save data and serve both of applications (A+B)
Right now A told than the class in C empty from the data....


Thank you\



我不需要遥控

我同时拥有两个他们在同一台计算机上......

还有其他方法可以绑定进程并在
运行时中检索信息吗?


Miha Markic < miha at rthand com>写在消息

新闻:%2 **************** @ TK2MSFTNGP12.phx.gbl ...
I do not need remoting
I have both of them on the same computer...
Are there other ways to bound into process and retrive the information in
runtime?

"Miha Markic" <miha at rthand com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Hi Tamir ,

神奇的词汇将是远程的。

-
Miha Markic - RightHand .NET咨询&发展
miha at rthand com

Tamir Khason < TA ********** @ tcon-NOSPAM.co.il>在消息中写道
新闻:%2 ****************** @ TK2MSFTNGP09.phx.gbl ...
Hi Tamir,

The magic word would be remoting.

--
Miha Markic - RightHand .NET consulting & development
miha at rthand com

"Tamir Khason" <ta**********@tcon-NOSPAM.co.il> wrote in message
news:%2******************@TK2MSFTNGP09.phx.gbl...
什么是首选在进程之间交换数据的方法?
示例:
我有2个应用程序(C#)
1)WinForms(A)
2)命令行(B)
两者他们使用DataLayer(类库)C

运行B的调用(通过exec)
B将数据加载到C中
A从C读取数据
如何告诉C保存数据并为两个应用程序提供服务(A + B)
现在一个告诉比C中的类空数据....


谢谢你。
What is the preferred way to exchange data between processes?
Example:
I have 2 applications (C#)
1) WinForms (A)
2) Command Line (B)
Both od them use DataLayer (class library) C

A calls to run B (via exec)
B loads data into C
A reads data from C

How to tell C to save data and serve both of applications (A+B)
Right now A told than the class in C empty from the data....


Thank you\




不,在这种情况下,远程处理几乎都是.net提供的。

但是请注意,它是专为进程间而不仅仅是计算机而设计的。

communicaton。

阅读.net帮助文件以查找更多信息。


-

Miha Markic - RightHand .NET咨询&开发

miha at rthand com


Tamir Khason < TA ********** @ tcon-NOSPAM.co.il>在留言中写道

新闻:%2 **************** @ TK2MSFTNGP12.phx.gbl ...
No, remoting is pretty much all .net offers in this case.
Mind though, that it is designed for interprocess and not just intercomputer
communicaton.
Read the .net help files to find more.

--
Miha Markic - RightHand .NET consulting & development
miha at rthand com

"Tamir Khason" <ta**********@tcon-NOSPAM.co.il> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
我做的不需要远程处理
我将它们都安装在同一台计算机上......
是否还有其他方法可以在运行时绑定进程并检索信息?

Miha Markic < miha at rthand com>在消息中写道
新闻:%2 **************** @ TK2MSFTNGP12.phx.gbl ...
I do not need remoting
I have both of them on the same computer...
Are there other ways to bound into process and retrive the information in
runtime?

"Miha Markic" <miha at rthand com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Hi Tamir,
神奇的词汇将是远程的。

-
Miha Markic - RightHand .NET咨询&发展
miha at rthand com

Tamir Khason < TA ********** @ tcon-NOSPAM.co.il>在消息中写道
新闻:%2 ****************** @ TK2MSFTNGP09.phx.gbl ...
Hi Tamir,

The magic word would be remoting.

--
Miha Markic - RightHand .NET consulting & development
miha at rthand com

"Tamir Khason" <ta**********@tcon-NOSPAM.co.il> wrote in message
news:%2******************@TK2MSFTNGP09.phx.gbl...
什么是首选在进程之间交换数据的方法?
示例:
我有2个应用程序(C#)
1)WinForms(A)
2)命令行(B)
两者他们使用DataLayer(类库)C

运行B的调用(通过exec)
B将数据加载到C中
A从C读取数据
如何告诉C保存数据并为两个应用程序提供服务(A + B)
现在一个告诉比C中的类空数据....


谢谢你。
What is the preferred way to exchange data between processes?
Example:
I have 2 applications (C#)
1) WinForms (A)
2) Command Line (B)
Both od them use DataLayer (class library) C

A calls to run B (via exec)
B loads data into C
A reads data from C

How to tell C to save data and serve both of applications (A+B)
Right now A told than the class in C empty from the data....


Thank you\





这篇关于进程间数据交换的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆