
[ Current Status: Active (Internal Testing, Help Wanted) ]
Hi guys, this is a new plugin for DBPro I've been working on.
It allows VB.Net and C# DLLs to be used in DBPro without any special editing of the DLLs and without needing to open the DLLs for COM Interop, etc..
You simply open Visual Studio, make your DLL, build it and you're done
It can load any public class from your DLL, currently one at a time but if it's wanted among forum users I'll add in, multiple class loading and other better things
Included in the DLL are the plugin DLL, full keywords file, help files documenting the commands and three fully working examples with source code for the DLLs and DBPro source.
Current Project Status:
I'm currently continuing to test the plugin and I'm requesting anyone who can make VB.Net and/or C# DLLs to make a simple one like the below VB.Net code example screenshot and upload them.
I can then test them and make sure it works with everyone's DLLs.
Your DLL functions and subs can request Strings, Decimals(Floats in DBPro), Integers and Booleans, other types are not yet supported.
Tested and working with the following .Net Frameworks:
.NET Framework 2.0
.NET Framework 3.0
.NET Framework 3.5
.NET Framework 4.0 (some things do return an error, but not enough to render it unusable with .Net Framework 4.0

)
DLL creation in the following IDEs fully working:
Visual Studio 2005 (Express edition)
Visual Studio 2008 (Express & Ultimate editions)
Visual Studio 2010 (Express & Ultimate editions)
As far as I know(untested as of yet), the .NET Framework used to make the DLL will need to be installed on the end user's pc for the DLL to run.
Screenshots:[/center]
Below are examples of the stuff you need to use the plugin. It shows the VB.Net DLL code, the DBPro code and then the DBPro exe running the code.
DarkBasic Pro Code Example:
VB.Net Code Example:
DarkBasic Pro EXE Example:
P.S: I know similar to this has been done before but it required converting DLLs or opening for COM Interop, while mine doesn't.
Plus I wanted to learn how to do it so...