Convert Delphi to C++ or C#

Job ID: 33573212

Budget: $30 – $250 USD

148 lines Delphi (Actually FPC) code for DLL. Need it converted to C.
I've prepared the header file already to reduce confusion.

Deliverables: a c++ or a C# project that can be built without syntax errors. Must export the four functions for my calling applications.
BatchInit
CatalogueInitialize
CatalogueFinalize
BeforePost

Note that they are all StdCall