I guess you are a little confused.
There is no such thing as a .NET process, on windows you only have Win32
processes each of them running in their own process space. A win32 process
can have one or more application domains created/managed by the CLR which is
loaded in that process whenever the first .NET application gets loaded.
Applications loaded into different domains within the same process can use
remoting to cross the Application domain boundaries, so we can say that (one
of) the .NET way(s) to call into another domain is "remoting", irrespective
the location of the other application domain:
- in the same process,
- another process on the same
- another process on a remote machine
Willy.
"Tamir Khason" <ta**********@tcon-NOSPAM.co.il> wrote in message
news:Op**************@TK2MSFTNGP11.phx.gbl...
From the other point of view all .NET proceses run in the same memory
space. Why not to use it?
"Rob Teixeira [MVP]" <RobTeixeira@@msn.com> wrote in message
news:ut*************@TK2MSFTNGP11.phx.gbl... Every program runs in process boundries. Remoting is a way to remote
objects and member calls across those process boundries. It doesn't matter if
the processes are physically on the same or different computers.
Even inteprocess calls in COM follow the same marshalling principals
that remoting follows. The difference is in the implementation. Remoting
works with TCP sockets (by default), and interprocess COM calls on the same
computer work via wndproc messages on hidden windows. Interprocess COM
calls on different computers uses RPC library calls on sockets (by default).
-Rob Teixeira [MVP]
"Tamir Khason" <ta**********@tcon-NOSPAM.co.il> wrote in message
news:%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,
>
> 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...
> > 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\
> >
> >
> >
>
>