AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

Class with strings in DLL

Ein Thema von WojTec · begonnen am 1. Jan 2011 · letzter Beitrag vom 7. Jan 2011
 
Benutzerbild von JamesTKirk
JamesTKirk

Registriert seit: 9. Sep 2004
Ort: München
604 Beiträge
 
FreePascal / Lazarus
 
#7

AW: Re: Class with strings in DLL

  Alt 2. Jan 2011, 12:18
I just googled this unit:

Code:
http://www.codexterity.com/fastsharemem.htm
I didn't knew that FastMM4 unit can be used as replacement too, thanks for this tip
I believe that FastMM4 is better than fastsharemem, especially as it allows you to detect memory leaks.

Zitat von WojTec:
I'm using D2010, FreePascal I selected by mistake, sorry
Nobody is perfect. I was just curious.

Zitat von WojTec:
I have next question, I used global (for DLL) record (it contains string and integers). When I used FastMM it detected memory leaks, when I nulled this record (rec.string := '', etc) memory leaks not occured. Why?
When do you initialize that record? It could be a false alarm, but I'm not that fond with FastMM as I'm not using it as leak detector.

Regards,
Sven
Sven
[Free Pascal Compiler Entwickler]
this post is printed on 100% recycled electrons
  Mit Zitat antworten Zitat
 


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 04:10 Uhr.
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz