Rohit
Ok, I'll left you off on the D2005 help, in prior versions this was all well documented.
Rohit Gupta wrote:
No, not really :-) Still not obvious and the language should handle it or make it impossible to stuff up. Seeing that I have never used interface before, and the D2005 help is utter rubbish and the code I did find to look at was not doing declaring the variable as an interface either.
Thanks guys.
Neven MacEwan wrote:
I think we can just leave Rohit to smack his own hand against his forehead
Neven
Conor Boyd wrote:
Probably worth emphasising the following:
Never mix interface and object references to the same instance.
Cheers,
Conor
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Paul Lowman
You don't seem to be getting an interface to TTest so it is being used just
like a normal object instance. As far as I can determine if you get an
interface to the object then it will be reference counted correctly.
_______________________________________________ Delphi mailing list [email protected] http://ns3.123.co.nz/mailman/listinfo/delphi
_______________________________________________ Delphi mailing list [email protected] http://ns3.123.co.nz/mailman/listinfo/delphi
-- Neven MacEwan (B.E. E&E) Ph. 09 620 1356 Mob. 027 4749 062
New Address Details =================== MWK Computer Systems 1 Taumata Rd Sandringham Auckland
Ph 620 1356 Fx 620 1336 _______________________________________________ Delphi mailing list [email protected] http://ns3.123.co.nz/mailman/listinfo/delphi
