FR 3.0 and Interfaces

edited 11:57AM in FastReport 3.0
Hi:
the new verssion of FR 3.0 work with "Interfaces" (COM) for automatic management of memory?

Comments

  • edited 11:57AM
    What do you mean? I don't use interfaces in the FR source code.
  • edited 11:57AM
    Looks like this link is broken.
  • edited 11:57AM
    well, i can access this link whitout problem.

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


  • edited 11:57AM
    toc, toc .....
  • edited 11:57AM
    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.

Leave a Comment