Menu

#16 DLL + String Failure?

open
None
7
2008-02-17
2008-02-17
MeW
No

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.

Discussion

  • MeW

    MeW - 2008-02-17

    Simple demo sources for A.V. reproduction

     
  • MeW

    MeW - 2008-02-17
    • priority: 5 --> 7
    • assigned_to: nobody --> pierre_le_riche
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.