Hello,
I am so frustrated as I search the internet and cannot find solution for what I want to do...
I want my C or C++ code be able to create a file in a directory under "C:\Program Files", for example "C:\Program Files\abc\xyz.txt". This usually triggers a security confirmation like "You need to provide administrator permission..." when you do it manually on Windows vista/7. I don't mind if this attempt requires a confirmation from user to continue.
I've tried FileIOPermission with no luck. Please help me if you know the resolution. Thank you very much
Linx