Writing Application "Drivers"

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Greetings,

I'm a long-time C++ developer, currently writing a C# Windows Forms application.

I have a case where an application needs some functionality that varies depending on the current data. I know I could easily write different methods or even classes and then call the appropriate one, but I'm thinking more in terms of "plug ins" that can be written and called from my app.

In C++, I might use DLLs for this. I could use LoadLibrary to load the appropriate "driver", the name of which could be a string that is part of my data.

Any suggestions on a cool approach with C#? I really don't have a good feel for how modules are located or loaded with .NET.

Thanks.

Jonathan


.



Relevant Pages

  • How can I force a modal dialog to close?
    ... I am writing a vb.net windows application and am using functionality ... 90% sure that the dialog is generated by the vb6 msgbox funciton. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Difference between .NET and Java
    ... > people that I know agree with my speculation that the CLR was in fact ... > similarities between the CLR and the Win32 API. ... Actually what I ment to say was the .NET has Windows specific functionality ...
    (comp.lang.java.programmer)
  • Re: Software bloat (Larkin was right)
    ... pure win32 API calls; the code size will be only few hundred kilobytes or so. ... writing his software in assembly language and calling the GDI API directly. ... Why learn multiple GUI toolkits when you can just learn one and use it on Macs, Windows, and Linux? ...
    (sci.electronics.design)
  • Re: comparison between portability libraries?
    ... most of these offer functionality that is imo a minor issue to ... glib contains code for all kind of data structures, ... before (writing both the client code and a server). ... a years worth of coding (maybe a year coding on average for about 4 ...
    (comp.lang.misc)
  • Re: ANYONE got any idea how to use Toast (version 8)?
    ... of videos to a DVD+R on my new Macbook Pro: Firstly it ran for a few ... writing anything to disc but that I should now label the CD! ... didnt work with windows and which always had to be kept off Windows ... a multi-file DVD with the OSX utility, which I have never managed to ...
    (comp.sys.mac.apps)