Home > DeveloperSection > Interviews > What is difference between inprocess and out of process ?

Posted on    May-20-2011 1:51 AM

 VB.Net VB.Net 
Ratings:
 1 Answer(s)
  1367  View(s)
Rate this:

Awadhendra Tiwari

Total Post:510

Points:2550
Posted on    May-20-2011 12:00 AM

An in-process component is implemented as a DLL, and runs in the same process space as its client app, enabling the most efficient communication between client and component.Each client app that uses the component starts a new instance of it.

An out of process component is implemented as an EXE, and unlike a dll, runs in its own process space. As a result, exe’s are slower then dll’s
because communications between client and component must be marshalled across process boundaries. A single instance of an out of process component can service many clients.


Don't want to miss updates? Please click the below button!

Follow MindStick