Rectangle 27 0

JavaCC++C PHP to Pascal converter?


There was released Android2DelphiImport tool a short time ago. This tool is designed for XE5, and automates the import unit writing by generating a pascal wrapper unit from jar. It is a commercial package. Here are another two similar tools - Utility to generate Java Android class and jar file interfaces for Delphi XE5 Firemonkey ('JavaToPas' and 'JavaImport For Android').

Note
Rectangle 27 0

JavaCC++C PHP to Pascal converter?


Biggest time saver tip for header conversion from C is to find a VB header and convert it with VB converter mentioned in other answer. This was almost always fully automated and changes I had to make were none or minor!

Note
Rectangle 27 0

JavaCC++C PHP to Pascal converter?


From a quick google search, I see several that may or may not be good:

H2Pas is a popular tool to convert C headers to Pascal. I don't know of any to actually convert C code to Pascal code though.

I am tempted to say you'll have to do a lot of it by hand one way or another.

Yeah, tried c2pas, but might as well write the program in pascal from scratch than use that. It may work for dead simple programs though.

Note