tamara3776
Programmer
Hi Everyone,
I am writing a dll for another piece of software that will only accept a C compatible string. The software will pass a string to my dll which then in turn will return a string. I have everything working fine accept that the software will not accept the string I return as it states it is not C compatible. Does anyone know of a way in delphi to return a C compatible string. I have read that AnsiString will do the trick but I have never used it. Can someone please let me know.
Thanks
I am writing a dll for another piece of software that will only accept a C compatible string. The software will pass a string to my dll which then in turn will return a string. I have everything working fine accept that the software will not accept the string I return as it states it is not C compatible. Does anyone know of a way in delphi to return a C compatible string. I have read that AnsiString will do the trick but I have never used it. Can someone please let me know.
Thanks