I am evaluating Xojo for developing a commercial web app, and I understand it is possible to use some C# classes that I have already developed. These C# classes have no user interface - they are just inter-related classes that carry out calculations, and that read and write to and from a Mongo database.
Please can somebody describe how I can use my C# classes in Xojo?
I am trying to find out:
- what kind of project should my C# classes be contained or wrapped in? E.g. is it a Class Library, with "Make assembly COM-Visible" ticked? Or something else?
- what kind of classes do they need to be? E.g. I assume they need to be public classes - are they any other requirements?
- what other properties do I need to check or set in my Visual Studio project, to make it usable within Xojo? E.g. do I need "Register for COM interop" ticked?
- what do I need to do outside of Visual Studio or Xojo, to make it possible to see and use my C# classes from within Xojo? E.g. do I need to use regsvr32, or regasm, and with what parameters?
- what do I need to do in Xojo to be able to instantiate and use my C# classes? E.g. should I use Insert > ActiveX Component, and look on the Components tab, or the References tab?
I have tried out a few things, from searching the forums and the internet, but none of it seem to work, in the sense that I cannot see my C# library on either tab of the Insert > ActiveX Component command.
I am using Xojo version 2013, release 3.3, and Microsoft Visual Studio 2012 Ultimate, update 4. I'm using 64-bit Windows 7 Professional, service pack 1.