File locking

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 26/02/2004 at 04:46, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   8.100 
Platform:      
Language(s) :   C.O.F.F.E.E  ;   XPRESSO  ;

---------
Hi all!

I´m writing data to disk from a certain plugin and I´m trying to read data from the file created on disk from this plugin from another plugin, the problem is that it fails because the second plugin states that the file is in use. How do I release the file locking? I tried using GetClone() to clone the file for the other plugin but that did´nt work.

Thanks

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 26/02/2004 at 14:52, xxxxxxxx wrote:

Use file->Close(). This undocumented function was added because the garbage collector didn't always close the file in time. (In theory you could just as well do "file = NULL; gc();".)

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 26/02/2004 at 15:24, xxxxxxxx wrote:

Yippee! Thanks Mikael