SQLite and File access problem


as part of routine i'm doing, i'm making copy of db if user simple save (for backup purposes). use sourcefile.copyto( destination, true ); , works fine. however, after i'm trying sourcefile.movetotrash (or delete, either one) , keep getting 3013 error, indicating file in use, assume. before trying delete file, i've closed connections db , have no filestreams open anywhere. i've tried doing deleteasync() , doesn't trick either.

 

any suggestions on avoiding 3013 error when go delete existing file? i've tried calling sourcefile.cancel() nothing.

finally got not closing connection setting null, deleting file, creating new connection.




More discussions in Archived Spaces


adobe

Comments

Popular posts from this blog

Joomla site hacked, cant see front and - Joomla! Forum - community, help and support

Christian Home School Programs - Joomla! Forum - community, help and support

Trouble with PF_OutFlag_I_USE_AUDIO and PF_CHECKOUT_LAYER_AUDIO