Visual Basic (VB) Question:
Download Job Interview Questions and Answers PDF
Describe and In Process vs. Out of Process component. Which is faster?
Answer:
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.
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.
Download Visual Basic (VB) Interview Questions And Answers
PDF
Previous Question | Next Question |
What is the benefit of wrapping database calls into MTS transactions? | What are the main components of the ADO object model? How are they used? |