Results 1 to 3 of 3

Thread: Plugins - resolved

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Mar 2003
    Location
    Cardiff, UK
    Posts
    67

    Plugins - resolved

    Hi,

    I'm currently working with someone on a plugin system for a c# program, we had a working system running in VB6, and I'm assuming it's similar in c#, but I can't quite figure it out.

    In VB, we had to create a class dll that we could then load at runtime, first by making sure it was registered and then by calling CreateObject. This class had to be derived from a base class and add it's own functionality.

    Anyway, I digress, what's the equivalent of CreateObject in c#, and do we need to make sure that the dll we're trying to load is already registered on the system, or does the .NET framework take care of that for us now?

    Thanks,
    Az.
    Last edited by Azrael-TFX-; Apr 19th, 2003 at 02:57 PM.

  2. #2
    PowerPoster sunburnt's Avatar
    Join Date
    Feb 2001
    Location
    Boulder, Colorado
    Posts
    1,403
    If you search in this forum for "plugin" you will find an excellent thread on this topic started by Cander IIRC. The ".NET way" to implement plugins is with interfaces. Good luck, post back if you need more help.

    Edit: ah, here it is...http://www.vbforums.com/showthread.p...=plugin+cander
    Every passing hour brings the Solar System forty-three thousand miles closer to Globular Cluster M13 in Hercules -- and still there are some misfits who insist that there is no such thing as progress.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Mar 2003
    Location
    Cardiff, UK
    Posts
    67
    ta

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