Results 1 to 4 of 4

Thread: Modules

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jul 1999
    Posts
    207

    Modules

    Hello,

    Have a question that someone may be able to answer.

    I am working on an app that does a couple of different things but I am thinking I would like to make it more expandable for the future. What I want to be able to do is create and app that will look in a certian folder for any dll files and then read the dll file and add a menu defined in the library. Now I can do this if I add a refernce at design time but I am unsure on how to go about making and app look for a dll file after it has been compiled.

    Basically I am looking for something like the MMC where you can load a dll and then add that functionality to it.

    If anyone has any ideas on how to go about this I would greatly appreciate it.

    Jeremy

  2. #2
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    Cander has been working on a Plug-in system example, I'm not sure if he is finished or not. I just finished my own example as well. I'll post it here for you, if that is what you are looking for.
    Attached Files Attached Files

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Jul 1999
    Posts
    207
    I think that is exactly what I am looking for, thanks.

    Jeremy

  4. #4
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    If I can just get past this wall I hit on trying to get an instance of a dll I would be able to finsih.. Ill figure it out. There has to be a way. i was thinking about if I stick it into a seperate thread I might be able to get to that thread via its Thread ID or somehing. So that is one idea I am researching. Will keep you guys informed. But if you dont need to keep track of instancing, that code should do everything you need to dynamically load dll's
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

Posting Permissions

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



Click Here to Expand Forum to Full Width