Page 1 of 1

Write temporary file in .app folder?

Posted: Wed Aug 28, 2019 9:37 am
by collectordave
When running my programme writes temporary files into the folder it is running in.

Works fine when run with PB but when compiled as an app in the applications folder no temporary files are created!

Again am I missing something about the mac?

CD

Re: Write temporary file in .app folder?

Posted: Wed Aug 28, 2019 10:15 am
by wilbert
I don't know if it is allowed to write to the .app folder.
It might be best to use GetTemporaryDirectory() to get a directory where you store the temporary files.

Re: Write temporary file in .app folder?

Posted: Wed Aug 28, 2019 10:38 am
by collectordave
Hi wilbert

Done and it works

thanks

CD