Alfred Van Hoek <[EMAIL PROTECTED]> wrote:

>               REALobject retInstance = nil;
>               
>               if (_fp)
>               {       
>                       retInstance = _fp(myInstance, theName);
>               }
> 
>               REALUnlockString(theName);
>                       
>               api = GetAPIIdentifier(retInstance);
>               REALUnlockObject(retInstance);          <------------------- 
> necessary???

I think yes.
Functions return objects locked so the one using the result must unlock
it.

Gruß
Christian

-- 
Over 600 classes with 14000 functions in one REALbasic plug-in. 
The Monkeybread Software Realbasic Plugin v7.3. 

<http://www.monkeybreadsoftware.de/realbasic/plugins.shtml>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to