I tried using TurnSharp but this is really expecting a standard Delphi
project (dpr) file.
The code I needed to convert is a control (dpk) file. This is not a
selectable option.
I converted the demo project that uses this control and it claimed 93.8%.
I checked the generated code and the critical code for the EllipticCurve
was not present (In truth I did not expect it to be as this is a control
integrated into the IDE)
I would have to spend some time taking the control code and making it a
standard unit within a delphi project.
I would then have to do the same with all the other controls needed.
While this is do-able I have not coded in Delphi for quite a few years
and then the outcome may or may not provide a viable product.
I think this might take up to a week to do with an uncertain outcome.
At this stage I think the dll /COM is a more viable option.
On 15/12/2010 2:10 PM, Ian Thomas wrote:
Peter
Had you considered a Delphi to C# code converter?
There's one (TurnSharp
<https://www.turnsharp.com/delphi-to-csharp.aspx>) that supports .NET
4.0 Framework and money-back if not 90%+ (not a great metric, really),
with a trial version.
------------------------------------------------------------------------
Ian Thomas
Victoria Park, Western Australia
------------------------------------------------------------------------
*From:*[email protected]
[mailto:[email protected]] *On Behalf Of *Peter Maddin
*Sent:* Wednesday, December 15, 2010 2:00 PM
*To:* ozDotNet
*Subject:* C# to Delphi
I have some cipher units written for Delphi 7.