I need to consume two procedures coded in csharp. Want to put in a dll and be consumed for a Delphi app. is possible with Elements/Fire?
Best regards.
I need to consume two procedures coded in csharp. Want to put in a dll and be consumed for a Delphi app. is possible with Elements/Fire?
Best regards.
Depends on the platform, you mention Fire, does that mean it’s Delphi for Mac or Windows?
If it’s Windows it’s easy https://docs.elementscompiler.com/Platforms/NET/UnmanagedExports/ can help. Or COM Objects.
On the Mac it’s a little trickier, we use https://github.com/remobjects/Marzipan (free/open source) but that’s written in Elements for Mac.
And there’s also Hydra of course.
Thanks Carlo,
Im trying with Water. Delphi complains at start the consumer app with error and cannot start.
Delphi app is i386 and I can’t find 386 options as target on Water, maybe that is the problem? I set x86 but im not sure if refer to 64 ir 32 bits.
Best regards.
Hi Marc,
For using two simple functions, as I never use hydra, I don’t sure about the complexity level to get it working. I try first what I know, I think im close to get it working.
The other reason is can’t use Hydra on Linux and maybe need to consume that dll in linux in a near future. I don’t know either if will be possible to use that dll, and dont do the research right now because the hurry, but for sure I know will not be possible with Hydra, Dll with some mono black magic, maybe.
Best regards.
Hell, Hydra is all about taking away the complexity of this
x86
is 32-bit. x64
is 64-bit.
You are right, after a few hours It take that working. Thanks for the support!