Vista Error with WriteFile?

BlitzMax Forums/BlitzMax Beginners Area/Vista Error with WriteFile?

The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, head over to the Blitz3D+ forums.

on my laptop's fresh Vista install with UAC enabled, with an admin OR non-admin account any writes to a subfolder of the game appear to work (i.e. game doesn't crash) but when looking in the actual subfolder, they are not there. They have been virtualised to a weird hidden folder for the currently logged on user (see other Vista thread for more details)

Dreamora: Nothing get's trashed it's just written somewhere else (when virutalisation occurs) so if you swap users you won't see the data that was written before. Yes, if you write to Common App Data, all users can read it but guess what, only the original admin user can write to it UNLESS the installer had elevated rights and set those writes (for anyone to write) to the game sub-folder in Common App Data. This requires special knowledge of installer script settings.

Amon, you say it works fine, which is weird. Someone else said stuff was fine on their Vista setup too but this is not how the MSDN site says it works and not my experience too. If it works for you great, but if you want to spread the exe when it's done, it may fail on other PCs.....