DLL + String Failure?
Brought to you by:
pierre_le_riche
I've got FastMM in an application and in a DLL. Whenever I've exchanged the string values through methods in the DLL, the libray cannot be unloaded without an excess violation. If I do the same without unloading the library it'll fail with a memory leak warning.
I was under the impression I could use the String type to exchange data between App and Dll. Perhaps someone could point me to my error, or report this as a bug?
Thanks in advance.
Btw. I've used the code below with Delphi6.
Simple demo sources for A.V. reproduction