Delphi DLL Problem, C++ hates Delphi strings
So I have a problem that I can't easily solve. I have dlls that I need to access. The problem is that I don't have the source code to them and they are writen in delphi. They come with a handy function that lists out all procedures in the DLL, but alas, many of the procedures use the Delphi string.
Whats worse is that the function itself seems to use a delphi string so I can only get about 2 calls out of it before it decides it must write somewhere I don't want it to.
So is there any sort of compatibility library or even just some code I could use that would make a delphi string in c++ so that I can access these functions. or even a suggestion of what route I should take to solve this problem.