Home All Groups Group Topic Archive Search About

In-Process and Out-of-Process

Author
4 Jul 2009 3:34 PM
Webbiz
Can someone suggest a site, page or article that explains in
understandable language the definition of In-Process, Out-of-Process,
etc?

Even better, to discuss the subject of 'process space', and how this
relates to VB programming, or programming in general, etc.?

Thanks!

Webbiz

Author
4 Jul 2009 6:15 PM
David
Simply In-Process refers to your App and Out-of-Process refers to any other
App.

For example if you have a VB Application and you start Excel (whether
independently of your App or called internally by your App), Excel would be
Out-of-Process.

Show quoteHide quote
"Webbiz" <nospam@forme.thanks.com> wrote in message
news:4gtu45l514491if2nv43g3mkbggvno6abt@4ax.com...
> Can someone suggest a site, page or article that explains in
> understandable language the definition of In-Process, Out-of-Process,
> etc?
>
> Even better, to discuss the subject of 'process space', and how this
> relates to VB programming, or programming in general, etc.?
>
> Thanks!
>
> Webbiz
Author
4 Jul 2009 7:24 PM
Webbiz
What I was hoping to find out though is the deeper technicals about In
and Out-Processes. For instance, when you run your app it works in a
particular area of memory. If you call DLL's or other so-called
"in-process" items, it runs also in this 'area'? And if you call
another app, it runs it 'in another walled off area'? And what happens
when you try to communicate across processes? And how is this normally
accomplished via VB? You know, what is going on behind the scenes that
may be of interest to a VB programmer.

From what I was able to learn via Google (or Bing for you
revolutionists), the discussions involving these in/out processes went
a bit beyond 'this app' and 'that app'. Just trying to expand my
horizons.

Thanks David. Appreciate your reply.  :-)

Webbiz




Show quoteHide quote
On Sat, 4 Jul 2009 14:15:23 -0400, "David" <dw85745***@earthlink.net>
wrote:

>
>Simply In-Process refers to your App and Out-of-Process refers to any other
>App.
>
>For example if you have a VB Application and you start Excel (whether
>independently of your App or called internally by your App), Excel would be
>Out-of-Process.
>
>"Webbiz" <nospam@forme.thanks.com> wrote in message
>news:4gtu45l514491if2nv43g3mkbggvno6abt@4ax.com...
>> Can someone suggest a site, page or article that explains in
>> understandable language the definition of In-Process, Out-of-Process,
>> etc?
>>
>> Even better, to discuss the subject of 'process space', and how this
>> relates to VB programming, or programming in general, etc.?
>>
>> Thanks!
>>
>> Webbiz
>
Author
4 Jul 2009 7:31 PM
mayayana
This one might be good:
http://msdn.microsoft.com/en-us/library/aa242099(VS.60).aspx


Show quoteHide quote
> What I was hoping to find out though is the deeper technicals about In
> and Out-Processes. For instance, when you run your app it works in a
> particular area of memory. If you call DLL's or other so-called
> "in-process" items, it runs also in this 'area'? And if you call
> another app, it runs it 'in another walled off area'? And what happens
> when you try to communicate across processes? And how is this normally
> accomplished via VB? You know, what is going on behind the scenes that
> may be of interest to a VB programmer.
>
> From what I was able to learn via Google (or Bing for you
> revolutionists), the discussions involving these in/out processes went
> a bit beyond 'this app' and 'that app'. Just trying to expand my
> horizons.
>
> Thanks David. Appreciate your reply.  :-)
>
> Webbiz
>
>
>
>
> On Sat, 4 Jul 2009 14:15:23 -0400, "David" <dw85745***@earthlink.net>
> wrote:
>
> >
> >Simply In-Process refers to your App and Out-of-Process refers to any
other
> >App.
> >
> >For example if you have a VB Application and you start Excel (whether
> >independently of your App or called internally by your App), Excel would
be
> >Out-of-Process.
> >
> >"Webbiz" <nospam@forme.thanks.com> wrote in message
> >news:4gtu45l514491if2nv43g3mkbggvno6abt@4ax.com...
> >> Can someone suggest a site, page or article that explains in
> >> understandable language the definition of In-Process, Out-of-Process,
> >> etc?
> >>
> >> Even better, to discuss the subject of 'process space', and how this
> >> relates to VB programming, or programming in general, etc.?
> >>
> >> Thanks!
> >>
> >> Webbiz
> >
Author
5 Jul 2009 2:18 AM
Webbiz
That made for some light reading. Thanks. :-)



Show quoteHide quote
On Sat, 4 Jul 2009 15:31:56 -0400, "mayayana" <mayaXXy***@rcXXn.com>
wrote:

>This one might be good:
>http://msdn.microsoft.com/en-us/library/aa242099(VS.60).aspx
>
>
>> What I was hoping to find out though is the deeper technicals about In
>> and Out-Processes. For instance, when you run your app it works in a
>> particular area of memory. If you call DLL's or other so-called
>> "in-process" items, it runs also in this 'area'? And if you call
>> another app, it runs it 'in another walled off area'? And what happens
>> when you try to communicate across processes? And how is this normally
>> accomplished via VB? You know, what is going on behind the scenes that
>> may be of interest to a VB programmer.
>>
>> From what I was able to learn via Google (or Bing for you
>> revolutionists), the discussions involving these in/out processes went
>> a bit beyond 'this app' and 'that app'. Just trying to expand my
>> horizons.
>>
>> Thanks David. Appreciate your reply.  :-)
>>
>> Webbiz
>>
>>
>>
>>
>> On Sat, 4 Jul 2009 14:15:23 -0400, "David" <dw85745***@earthlink.net>
>> wrote:
>>
>> >
>> >Simply In-Process refers to your App and Out-of-Process refers to any
>other
>> >App.
>> >
>> >For example if you have a VB Application and you start Excel (whether
>> >independently of your App or called internally by your App), Excel would
>be
>> >Out-of-Process.
>> >
>> >"Webbiz" <nospam@forme.thanks.com> wrote in message
>> >news:4gtu45l514491if2nv43g3mkbggvno6abt@4ax.com...
>> >> Can someone suggest a site, page or article that explains in
>> >> understandable language the definition of In-Process, Out-of-Process,
>> >> etc?
>> >>
>> >> Even better, to discuss the subject of 'process space', and how this
>> >> relates to VB programming, or programming in general, etc.?
>> >>
>> >> Thanks!
>> >>
>> >> Webbiz
>> >
>
Author
4 Jul 2009 10:56 PM
Ralph
Show quote Hide quote
"Webbiz" <nospam@forme.thanks.com> wrote in message
news:rnav45pb2rk6f0sum4b3pf4500rutdb892@4ax.com...
> What I was hoping to find out though is the deeper technicals about In
> and Out-Processes. For instance, when you run your app it works in a
> particular area of memory. If you call DLL's or other so-called
> "in-process" items, it runs also in this 'area'? And if you call
> another app, it runs it 'in another walled off area'? And what happens
> when you try to communicate across processes? And how is this normally
> accomplished via VB? You know, what is going on behind the scenes that
> may be of interest to a VB programmer.
>
> From what I was able to learn via Google (or Bing for you
> revolutionists), the discussions involving these in/out processes went
> a bit beyond 'this app' and 'that app'. Just trying to expand my
> horizons.
>
> Thanks David. Appreciate your reply.  :-)
>
> Webbiz
>

Primarily because "in-proc" and "out-of-proc" (and all the little derivate
phrases and spellings) are not a 'technical' term in themselves but a useful
convenience for generally describing whether a particular thingy is within
the address space of another or not.

The details (and actual terms) are contained in "Windows Virtual Memory
Management", "Virtual Address Space", and "Processes and Threads". All
relatively complex subjects but a place every Windows programmer has to go
sooner or later.

Here is as good a place to start as any ...
http://msdn.microsoft.com/en-us/library/aa366912(VS.85).aspx
http://msdn.microsoft.com/en-us/library/ms684841(VS.85).aspx
and all the other topics under System Services.

If it is new to you don't go crazy trying to understand every sentance in
the beginning, read to get the general sense and buzzwords, come back and
follow the links, as your interest and knowledge grow.

-ralph
Author
5 Jul 2009 2:18 AM
Webbiz
Thanks Ralph. Good reads. :)


Show quoteHide quote
On Sat, 4 Jul 2009 17:56:17 -0500, "Ralph" <nt_consultin***@yahoo.com>
wrote:

>
>"Webbiz" <nospam@forme.thanks.com> wrote in message
>news:rnav45pb2rk6f0sum4b3pf4500rutdb892@4ax.com...
>> What I was hoping to find out though is the deeper technicals about In
>> and Out-Processes. For instance, when you run your app it works in a
>> particular area of memory. If you call DLL's or other so-called
>> "in-process" items, it runs also in this 'area'? And if you call
>> another app, it runs it 'in another walled off area'? And what happens
>> when you try to communicate across processes? And how is this normally
>> accomplished via VB? You know, what is going on behind the scenes that
>> may be of interest to a VB programmer.
>>
>> From what I was able to learn via Google (or Bing for you
>> revolutionists), the discussions involving these in/out processes went
>> a bit beyond 'this app' and 'that app'. Just trying to expand my
>> horizons.
>>
>> Thanks David. Appreciate your reply.  :-)
>>
>> Webbiz
>>
>
>Primarily because "in-proc" and "out-of-proc" (and all the little derivate
>phrases and spellings) are not a 'technical' term in themselves but a useful
>convenience for generally describing whether a particular thingy is within
>the address space of another or not.
>
>The details (and actual terms) are contained in "Windows Virtual Memory
>Management", "Virtual Address Space", and "Processes and Threads". All
>relatively complex subjects but a place every Windows programmer has to go
>sooner or later.
>
>Here is as good a place to start as any ...
>http://msdn.microsoft.com/en-us/library/aa366912(VS.85).aspx
>http://msdn.microsoft.com/en-us/library/ms684841(VS.85).aspx
>and all the other topics under System Services.
>
>If it is new to you don't go crazy trying to understand every sentance in
>the beginning, read to get the general sense and buzzwords, come back and
>follow the links, as your interest and knowledge grow.
>
>-ralph
>
Author
4 Jul 2009 7:25 PM
mayayana
There's quite a bit about processes in the book
Win32 API Programming with VB, if you happen
to have that. (Steven Roman, O'Reilly Publ.)

  There are explanations of in-proc/out-of-proc
in MSDN, but there doesn't seem to be a lot to
say about that. They're pretty much self-explanatory.
In VB terms they're options for COM components.
You can make an in-proc DLL to hold functions,
or you can make an out-of-proc EXE if you want
to write a program with an automation interface.


Show quoteHide quote
> Can someone suggest a site, page or article that explains in
> understandable language the definition of In-Process, Out-of-Process,
> etc?
>
> Even better, to discuss the subject of 'process space', and how this
> relates to VB programming, or programming in general, etc.?
>
> Thanks!
>
> Webbiz
Author
5 Jul 2009 2:01 AM
Nobody
See this article which is still true for later operating systems:

INFO: Overview of the Windows 95 Virtual Address Space Layout
http://support.microsoft.com/kb/125691/en-us