step 1: compile c++ code into ".obj" files
step 2: link it into the delphi app directly.
step 3: profit!