batte
Jan 22 2004, 03:41 AM
Hi:
the new verssion of FR 3.0 work with "Interfaces" (COM) for automatic management of memory?
AlexTZ
Jan 22 2004, 09:53 AM
What do you mean? I don't use interfaces in the FR source code.
AlexTZ
Jan 24 2004, 11:49 AM
Looks like this link is broken.
batte
Jan 26 2004, 08:14 AM
well, i can access this link whitout problem.
I send to you in a e-mail all text of the link.
zinvob
Feb 3 2004, 10:33 AM
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.