I have a rather good experience in developing apps that require intraction between modules written in different programming languages on Windows platform.
If it goes about interaction between C++ and Delphi code specifically I had for example the project where some lightweight http/smtp lib written in C++ should have been used from Delphi code (the customer didn't want to use Indy then). So the neat API was factored out of existing C++ code and implemented as DLL on one side and wrapping Delphi unit that exposed the same API in Delphi terms on the other. As this unit transparently
translates native Delphi calls into C/C++ calls user didn't have to know any details about exported C/C++ signatures.
This story reflects general approach to this sort of task that includes two parts:
- conversion of existing C++ code in the DLL with factoring out the required API;
- writing wrapping unit in Delphi that would translate Delphi calls to external functions calls.
Being well familiar with all the tips and tricks of the problem field I'm sure that I can implement exactly what you need, but real working time will depend on details of the task (the devil is always in details :-)).
So, we shell discuss those details thoroughly before starting the job. The most important thing there is number of functions exported from the DLL and their exact signatures.
If you need more info from me I'll provide it willingly.
I always open for constructive conversation.
Best regards
Yuryi