• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 341
  • Last Modified:

Loading DLL as a Out of Process

By default DLL will load as a Inprocess.
Whether we can load the ActiveX Dll as a Out of Process in a seperate location.
0
muralic
Asked:
muralic
1 Solution
 
jkunalCommented:
No dll's always require a client's process space to run.
0
 
muralicAuthor Commented:

    DLL will load in a Virtual memory of the current application.
    Rather than using the Virtual Memory, whether I can load it in a separate memory location like ActiveX EXE.
0
 
paulstampCommented:
As stated by jkunal.... you cannot make a DLL run out of process. If its an ActiveX DLL then you can recompile as and ActiveX EXE but thats about it.
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
jkunalCommented:
Hey muralic,why have you rejected my answer?
Can you load a dll out of process if so please also let me know other wise, please give me my due points.

You cannot load a dll like a exe in a seperate memory process................

0
 
paulstampCommented:
To give jkunal the points you can accept his comment as an answer. If compiling it as an ActiveX EXE helps you can accept my answer.

Either way you cant load a DLL out of process.
0
 
caraf_gCommented:
jkunal is right, so the points are deserved.

PS - the answer is perfect. The fact that you don't particularly like the answer should not influence your grading. (Don't shoot the messenger).
0
 
VBGuruCommented:
To load a DLL as out of process, you need a surrogate process. This is what happens in MTS. Where the DLLs objects can be created in another machine.
Such kind of processes you can't create in VB check out VC for the same if u r interested.
0
 
GlennDeanCommented:
VBGuru is right - you can load a DLL using a surrogate.  DCOM comes with a default surrogate.  
  To know if your DLL can run in a surrogate, check out the Registry.  It's CLSID must have an AppID subkey and that key must have a DllSurrogate value.
0
 
jkunalCommented:
But still the dll is running in the process space of MTS.....
0

Featured Post

Learn to develop an Android App

Want to increase your earning potential in 2018? Pad your resume with app building experience. Learn how with this hands-on course.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now