i need some help with a probaly classic rights/security Vista issue.
I designed my application that in case of some events, i write some messages in a log.txt (i create the folder/file if it not exist).
I decided to create it in the application path:
C:\Program Files\MyApp\bin\archive\logs\log.txt"
So first of all i create the "logs" folder if missing, then i create the file.
All work fine in XP, until Vista "unfortunate" improvements.
On vista, wxMkdir issue a dialogbox the following error:
Code: Select all
Directory 'C:\Program Files\MyApp\bin/archive//logs/" couldn't be created (error 183: cannot create a file when that file already exist)"
I suspect on some vista rights issue.
Every help is very appreciated.