> Which segfaults immediately because %eax contains the return value of > _addref (stdcall calling convention) which is 1 in this case. > > I don't really know where the problem is (ie, why the compiler generates > this code), however this keeps reference counted interfaces from working > at all.
Fixed. Problem was the wrong calculation of the offset of self seen from the caller side _______________________________________________ fpc-devel maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-devel