kodnet allows use any .NET object/class/type from VFP9.
This project is a guide for install and use kodnet. Contains the distributable files, and the info required for include in your VFP project.
If you want see C# source code:
Make open source software is hard, and need many time. Please consider donate, your name will appear here
-
Install @kawix/core
-
Install the Kodnet library. Execute in cmd the following command:
This command can be executed as normal user or as admin, you decide. If you execute as normal user, kodnet will not be usable inside a VisualFoxPro application started with admin rights. If you need use kodnet inside a VisualFoxPro application started with admin rights, please make sure you execute this command on a cmd with admin rights
kwcore gh+/FoxShell/packages/kodnet/0.1.1.kwa
That's all, you are ready to use. See the examples
- VFP9 or superior
- NET Framework 4.0 or superior
- NOW SUPPORTS VFP ADVANCED 64 Bits!
- Access any .NET component even if it is not marked for interop [ComVisible].
- You do not need to register or install the component
- Call any method, property directly like any other object FoxPro
- Calling the constructor of a class with parameters is possible
- Call any method overload. kodnet select the best, according to your parameters
- Support for any non-native .NET type
- Access to static members, including Structs, Enums, Generics, etc.
- Access .NET arrays easily using Get and Set methods
- You can pass an object FoxPro and read it from a .NET method using dynamic.
- Multithread support
- Include visual .NET controls within your VisualFoxPro forms and access your members like any other .NET class.
- Support for adding/deleting .NET event handlers (delegates)
- Great performance in method calls, properties, because internally it doesn't use Reflection but uses CallSite (the methodology it uses internally dynamic in C#)
- Easier code to write! Call/assign methods, properties, fields using the member's own name.
- Support to create delegates and add/delete events. YES! kodnet supports DELEGATES without registering VFP components
- Create generic class instances easily
- Real support for asynchronous .NET methods
- Compile C# code dynamically
- Support for including visual controls from .NET to VFP forms
- Up to 10x times faster in instance method calls, and still faster on static method calls
Read the DOCS.md
If you have an specific requirenment, or want integrate this library in your project, contact us