December 29th, 2011, 08:29 AM
A dynamic DLL plugin system
I have an exe (app1)
I have a dll (dll1)
In app1, I want to load dll's dynamically from a directory.
in the dll, I want to be able to access public methods in app1 and other dll's.
What I am looking for build is a DLL plugin system which will load, manage and allow memory transfer between the DLL and the EXE.
I want to know any opinion or any way you think it is bbet to do this.
I guess i can use tools like P/Invoker(http://www.pinvoker.com) to generate an intermediate DLL (managed) and then use it in my dll1 files (by using dynamic dlls loading)
Is there any way to do it in the memory?
Any clue is appreciated
January 4th, 2012, 03:57 PM
Re: A dynamic DLL plugin system
have a look of MEF framework that's bundled with .net 4.0 framework
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.