Yes, I can confirm this is a problem. The current version can only handle lines up to 255 characters. Breaking the line will help, but the current version doesn't seem to handle multi-line function definitions very well either... The output will need some post-editing but more of the code will be converted.
Regards
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It would also be nice to translate a code snipped instead of the whole headerfile. Further the function "Save as" does not work. At least @ win 10 / Delphi 7
Greetings Tony.
Last edit: FactoryX 2015-09-18
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Just tried to do a header conversion of the diCrPKI.h (CryptosysPKI Toolkit) for the diCrPKI.dll
available at http://www.cryptosys.net/pki/index.html
There is a failure during converting the function header of X509_MakeCert. Seems to mixup with the next function header.
Can anyone confirm or provide a fix ?
Regards
Thomas
Hi Thomas,
Yes, I can confirm this is a problem. The current version can only handle lines up to 255 characters. Breaking the line will help, but the current version doesn't seem to handle multi-line function definitions very well either... The output will need some post-editing but more of the code will be converted.
Regards
I tried to convert some headers from the MS SDk but the tool does not work at all.
A result .pas file looks like this:
unit AUDIOENGINEBASEAPO;
{***********}
{ }
{ This C DLL header file first (automatic) conversion generated by: }
{ HeadConv 4.2 (c) 2000-2206 by Bob Swart (aka Dr.Bob - www.drbob42.com)}
{ Second (refactored) Delphi-Jedi (Darth) command-line units edition }
{ }
{ Generated Date: 18-9-2015 }
{ Generated Time: 17:40:14 }
{ }
{***********}
interface
uses
{$IFDEF WIN32}
Windows;
{$ELSE}
Wintypes, WinProcs;
{$ENDIF}
{=> D:\MYCODE\MF\CoreAudio\Headers\AUDIOENGINEBASEAPO.H <=}
What is going wrong here?
It would also be nice to translate a code snipped instead of the whole headerfile. Further the function "Save as" does not work. At least @ win 10 / Delphi 7
Greetings Tony.
Last edit: FactoryX 2015-09-18