Re: Deallocating cocoa distant objects.

2009-05-23 Thread Ken Thomases
Hi, Have you tried the approach where the server's methods return objects rather than outputting them through pointer parameters? That's more typical. Also, I'd point out that all of your methods which return HRESULT type are hard-coded to always return S_OK, or, if they aren't hard-cod

Re: Deallocating cocoa distant objects.

2009-05-21 Thread Ken Thomases
On May 21, 2009, at 4:01 PM, Santosh Sinha wrote: I need your help with how to deallocate an object which is created in a server process A from a client process B. In the project as we can see in the NSLog once the MyClass object is created and returned to the client, its retain count becom

Deallocating cocoa distant objects.

2009-05-21 Thread Santosh Sinha
Hi List. I need your help with how to deallocate an object which is created in a server process A from a client process B. In the project as we can see in the NSLog once the MyClass object is created and returned to the client, its retain count becomes 3. This causes the MyClass object to