Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Dynamic Dll

Dynamic Dll

Scheduled Pinned Locked Moved C#
csharpsysadmin
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Shashidharreddy
    wrote on last edited by
    #1

    I want to compile the dll conditionally, only when I want, or do you mean that the application should only load the DLL when it is needed. My requirement is to have multiple .Net dlls, which has similar functionalities exposed (so that I can expose functions of same signature). One of these dlls should be loaded at runtime based on user's selection of dll file name. In effect I need to support my application in such a way that, even after initial deployment, I will be able to deploy additional dlls (additional dlls alone will be separately deployed), which user can select at runtime. Shashidhar Reddy

    D A 2 Replies Last reply
    0
    • S Shashidharreddy

      I want to compile the dll conditionally, only when I want, or do you mean that the application should only load the DLL when it is needed. My requirement is to have multiple .Net dlls, which has similar functionalities exposed (so that I can expose functions of same signature). One of these dlls should be loaded at runtime based on user's selection of dll file name. In effect I need to support my application in such a way that, even after initial deployment, I will be able to deploy additional dlls (additional dlls alone will be separately deployed), which user can select at runtime. Shashidhar Reddy

      D Offline
      D Offline
      Dan_P
      wrote on last edited by
      #2

      Sounds like you are looking for something like the provider model in .NET v2, also it might be worth while to have a look at the community server project[^], they have implemented a lot of this type of functionality.

      1 Reply Last reply
      0
      • S Shashidharreddy

        I want to compile the dll conditionally, only when I want, or do you mean that the application should only load the DLL when it is needed. My requirement is to have multiple .Net dlls, which has similar functionalities exposed (so that I can expose functions of same signature). One of these dlls should be loaded at runtime based on user's selection of dll file name. In effect I need to support my application in such a way that, even after initial deployment, I will be able to deploy additional dlls (additional dlls alone will be separately deployed), which user can select at runtime. Shashidhar Reddy

        A Offline
        A Offline
        Anonymous
        wrote on last edited by
        #3

        You can use .NET reflection capacities. Recently I find an interesting project in C# called Purple#, the programer uses dlls like plugins, for example if you can render in D3D use D3D.dll, or OGL.dll for OpenGL. This Dlls implementes same interfaces. This is the URL: http://www.bunnz.com[^]

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups