[fpc-pascal] Interface performance

Ryan Joseph ryan at thealchemistguild.com
Fri Nov 11 11:25:09 CET 2016


> On Nov 11, 2016, at 4:56 PM, Tony Whyman <tony.whyman at mccallumwhyman.com> wrote:
> 
> 3. To get an object back from an interface you must use the "as" operator.

Another point to do with CORBA. The manual says they are not reference counted and programmer needs to do book keeping. The crash I was getting was in line with accessing memory that has been deallocated so perhaps because I didn’t do my “book keeping” it was freed as it passed scopes. Not sure how to manage reference counting for interfaces though because the docs didn’t actually explain this.

Maybe the better question is should I ditch CORBA in favor or COM?


Regards,
	Ryan Joseph




More information about the fpc-pascal mailing list