A dynamic DLL plugin system
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: A dynamic DLL plugin system

  1. #1
    Join Date
    Dec 2011
    Posts
    1

    A dynamic DLL plugin system

    Hi Programmer,

    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

  2. #2
    Join Date
    Dec 2011
    Posts
    61

    Re: A dynamic DLL plugin system

    have a look of MEF framework that's bundled with .net 4.0 framework

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center