In one of our applications, we have a (rather) large code base in Delphi whose non visual part should be made available to .Net based code.
As we are already using Hydra to import .Net visual components in another program, we thought of doing the reverse situation with Hydra.
So I went on and created a plugin project, added the controller, and the plugin class.
But how do I “publish” existing classes ?
Can it be done by adding special attributes to the preexisting classes ?
I could not find anything obvious in the documentation, but maybe I did not look in the right place.
Yes, I know how to consume a .Net class in Delphi with Hydra.
But I want to do the reverse and I can’t find good explanations for this. In particular, I’m looking at ways to get this (semi)automated because I have lots of classes and do not want to manually write a wrapper class for each and every one of them.
Well, yes, pretty much like with RO SDK.
But creating 200 interfaces manually, along with the implementation classes is way too cumbersome, I was really looking for something like the Code First approach where it is as simple as adding an attribute to an existing class.