Using netgen functions in delphi

Hello guys,

So, i’m looking to create a library (dll) with netgen functions, that will be imported by an application written in delphi.
I’ve looked around on google and SO, and found that i need to:

  1. Firstly create a C interface of netgen’s functions and then, somehow;
  2. create a delphi interface that can use these functions.

I’m still very new in C/C++, so i wasn’t even able to complete any of the above points…
If some of you guys have any experience using netgen’s functions in delphi (or just creating a C interface), i would be very appreciated.

Thank you in advance!!