viana
2008-03-24 22:33:20 UTC
Hello,
One of my applications needs to write some txt file, using assignfile, rewrite and writeln functions. Everything worked fine in D6, but now we have upgraded to Rad Studio 2007 and the users running Windows Vista with Account Control switched on gets a 'File access denied' when the program tries to manipulated the files. If the Account control is turned off, everything works fine.
Files are being writed in my application folder, inside Program files. Is there a way to avoid this error without force the user to turn off Acount control ? I'm wondering why the executable compiled with D6 does not have this problem.
Thanks
Viana
One of my applications needs to write some txt file, using assignfile, rewrite and writeln functions. Everything worked fine in D6, but now we have upgraded to Rad Studio 2007 and the users running Windows Vista with Account Control switched on gets a 'File access denied' when the program tries to manipulated the files. If the Account control is turned off, everything works fine.
Files are being writed in my application folder, inside Program files. Is there a way to avoid this error without force the user to turn off Acount control ? I'm wondering why the executable compiled with D6 does not have this problem.
Thanks
Viana