Hello
For many Java games/programs I use, you can download plugins/mods.
Now I'm wondering if this is possible in VB?
Printable View
Hello
For many Java games/programs I use, you can download plugins/mods.
Now I'm wondering if this is possible in VB?
The .NET Framework does incorporate plugin functionality.
http://social.msdn.microsoft.com/Sea...tem.addin&ac=8
It was a late inclusion though, so many developers have implemented their own system based on an interface. You can define your own IPlugin interface in a library and then both your application and any plugin developers library can reference that. At run time, your application looks in one or more specific folders and uses Reflection to load and interrogate the DLLs found there to detect all types that implement your IPlugin interface.
http://www.google.com.au/search?q=pl...ient=firefox-a
Lets just be clear that we talk about the same thing here :)
Lets say I have a game, in Java other could make "plugins" and mods to the game. This is not possible in VB?
How about C#/C++?
Yes, you can write plugins. In VS2010 .NET 4.0 you would use the Managed Extensibility Framework . See: http://mef.codeplex.com/ for information. For earlier version, you have more work to do, but it still is possible using System.Reflection to load assemblies at runtime (there are examples online for this, too - this is non-CLS compliant).
Dick