> True, but loads more flexibility, and they are trivial to debug in
> Delphi 4, assuming that all the source is in delphi :)
I would have to agree with Nick here - why port C code when you can just
wrap it up in a DLL or COM object & forget about it. It makes it easier
when updates come along for the C code as well.
> If its just a header file, look at Dr. Bob's site
> (www.drbob42.com), he has a .h converer there - a C to Pascal
converter,
> however, usually sits in the deep - and usually full - "too hard"
basket.
There are lots of <insert obscure language here> to C/C++ convertors
such as F2C that does Fortran to C, but I shudder at the thought of
doing a C -> Pascal convertor. I am always amazed at the way people can
mangle C code (witness obscure C competitions like ... er .. Mozilla
source <g>).
Still, if anybody wants to attempt it I would love to see such a
thing...
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz