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
Write temporary file in .app folder?
-
- Addict
- Posts: 1310
- Joined: Fri Aug 28, 2015 6:10 pm
- Location: Portugal
Write temporary file in .app folder?
Any intelligent fool can make things bigger and more complex. It takes a touch of genius — and a lot of courage to move in the opposite direction.
Re: Write temporary file in .app folder?
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.
It might be best to use GetTemporaryDirectory() to get a directory where you store the temporary files.
Windows (x64)
Raspberry Pi OS (Arm64)
Raspberry Pi OS (Arm64)
-
- Addict
- Posts: 1310
- Joined: Fri Aug 28, 2015 6:10 pm
- Location: Portugal
Re: Write temporary file in .app folder?
Hi wilbert
Done and it works
thanks
CD
Done and it works
thanks
CD
Any intelligent fool can make things bigger and more complex. It takes a touch of genius — and a lot of courage to move in the opposite direction.