Help - Search - Members - Calendar
Full Version: FR 3.0 and Interfaces
Fast Reports forum > Fast Reports Products > FastReport 3.0
batte
Hi:
the new verssion of FR 3.0 work with "Interfaces" (COM) for automatic management of memory?
AlexTZ
What do you mean? I don't use interfaces in the FR source code.
batte
see http://www.gekko-software.nl/Delphi/Art04.htm
AlexTZ
Looks like this link is broken.
batte
well, i can access this link whitout problem.

I send to you in a e-mail all text of the link.


batte
toc, toc .....
zinvob
battle, why are you nagging about the interfaces. It's not important with interfaces inside these components, as they are all owned eighter by FR or you form so they will take care of releasing your memory after use. And the automatic memory management is not always a bless. There are situations when the release is done on the wrong place at the wrong time, and you must know exactly what the compiler increments your reference counter on, and what it decrements it on. If you create the FR components manually in code, then you will survive having to release it after use.

Don't be chocking on the interface concept, it's not made for use everywhere. And the basic for interfaces is not automatic memory management, but splitting big objects into smaller parts that are the same between several objects, so you can communicate to them by one or several smaller interfaces. And this way get multiple inheritance etc.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.