LDCad 1.0 (win+linux)


Re: LDCad 1.0 (win+linux)
#15
In Unix, you would never consider saving files to the /usr/local/bin/ directory, and yet for years programs in Windows did the equivalent of this by default (writing to the program's install directory). When Microsoft decided that this should be no longer possible, they created the convoluted ghost copies of all the system directories any time a non-privileged program writes to them. They were in a bind, because they couldn't do what is arguably the right thing, which is to completely disallow writing to those directories. So they went with a hack that effectively disallowed writing to the directories, while allowing old programs to function by having the files magically show up elsewhere.

Ever since Vista was released in 2006 (and possibly before that), Microsoft has instructed developers that programs should only write to the logged in user's user profile directory (C:\Users\<username> by default in Vista and Win 7, and available via the %USERPROFILE% environment variable, as well as via a Win32 function call), and never write to the Program Files or Windows directories (or sub-directories under there).

I'm not a Microsoft fan, and the whole VirtualStore thing is a royal pain (especially since Explorer doesn't show the files in the location the user thinks they should be), but in this case, at least they did it for a good reason (security). I do think they should have made Explorer show the VirtualStore files in the place the user thinks they're located (with some kind of visual effect to indicate they're actually elsewhere, perhaps).
Reply
« Next Oldest | Next Newest »



Messages In This Thread
LDCad 1.0 (win+linux) - by Roland Melkert - 2011-12-12, 23:40
Re: LDCad 1.0 (win+linux) - by Roland Melkert - 2011-12-14, 19:02
Re: LDCad 1.0 (win+linux) - by Roland Melkert - 2011-12-14, 20:36
Re: LDCad 1.0 (win+linux) - by Roland Melkert - 2011-12-14, 21:43
Re: LDCad 1.0 (win+linux) - by Roland Melkert - 2011-12-15, 18:54
Re: LDCad 1.0 (win+linux) - by Roland Melkert - 2011-12-15, 23:06
Re: LDCad 1.0 (win+linux) - by Travis Cobbs - 2011-12-15, 23:57
Re: LDCad 1.0 (win+linux) - by Roland Melkert - 2011-12-19, 17:33
Re: LDCad 1.0 (win+linux) - by Jason Smith - 2012-03-23, 1:06
Re: LDCad 1.0 (win+linux) - by Roland Melkert - 2012-03-23, 16:46
Re: LDCad 1.0 (win+linux) - by Jason Smith - 2012-03-28, 7:47
Re: LDCad 1.0 (win+linux) - by Jason Smith - 2012-04-21, 3:58
Re: LDCad 1.0 (win+linux) - by Roland Melkert - 2012-04-21, 17:54
Re: LDCad 1.0 (win+linux) - by Jason Smith - 2012-04-21, 23:18
Re: LDCad 1.0 (win+linux) - by Roland Melkert - 2012-04-22, 17:56
Re: LDCad 1.0 (win+linux) - by Jason Smith - 2012-04-22, 21:27
Re: LDCad 1.0 (win+linux) - by Roland Melkert - 2012-04-22, 23:51
Re: LDCad 1.0 (win+linux) - by Jason Smith - 2012-04-23, 1:38
Re: LDCad 1.0 (win+linux) - by Jason Smith - 2012-04-23, 2:57
Re: LDCad 1.0 (win+linux) - by Roland Melkert - 2012-04-23, 17:20
Re: LDCad 1.0 (win+linux) - by Jason Smith - 2012-04-23, 19:04
Re: LDCad 1.0 (win+linux) - by Roland Melkert - 2012-04-23, 21:21
Re: LDCad 1.0 (win+linux) - by Jason Smith - 2012-04-23, 21:37
Re: LDCad 1.0 (win+linux) - by Roland Melkert - 2012-04-24, 16:30
Re: LDCad 1.0 (win+linux) - by Travis Cobbs - 2012-04-24, 16:39
Re: LDCad 1.0 (win+linux) - by Steffen - 2012-04-24, 16:41
Re: LDCad 1.0 (win+linux) - by Travis Cobbs - 2012-04-24, 20:40
Re: LDCad 1.0 (win+linux) - by Roland Melkert - 2012-04-24, 21:10

Forum Jump:


Users browsing this thread: 1 Guest(s)