Michael Hartlef
15-12-2006, 11:46
Hi guys,
I heard that you guys having issues with string transfer from a Delphi DLL. Delphi has it's own way of handling strings. They can be as long as you want them too. To if you want to get a pointer to a string like in C/C++, you have to transmit PChar(yourstring). I hope that helps.
A good read about Delphi strings and how the store the content is this page:
http://delphi.about.com/od/beginners/l/aa071800a.htm
Cu
Michael
I heard that you guys having issues with string transfer from a Delphi DLL. Delphi has it's own way of handling strings. They can be as long as you want them too. To if you want to get a pointer to a string like in C/C++, you have to transmit PChar(yourstring). I hope that helps.
A good read about Delphi strings and how the store the content is this page:
http://delphi.about.com/od/beginners/l/aa071800a.htm
Cu
Michael