|
-
Apr 19th, 2003, 02:35 PM
#1
Thread Starter
Lively Member
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.
-
Apr 19th, 2003, 02:53 PM
#2
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.
-
Apr 19th, 2003, 02:57 PM
#3
Thread Starter
Lively Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|