次の方法で共有


hey! my sample won’t build in Program Files on Vista

Windows SDK samples are installed by default (you can change this during setup) under the current user’s Program Files folder in the following path:

\Program Files\Microsoft SDKs\Windows\v6.0\samples

On Vista, samples that install to \Program Files are read only, ensuring that samples are preserved in a pristine state. In order to write to a sample, you’ll need to copy that sample to another location.

We made this decision after polling users and MVPs. What’s your opinion? Should samples install to a writeable location in future SDK releases?

Comments

  • Anonymous
    November 26, 2006
    I like having the samples in a pristine state. I have a dir C:test just for throwaway projects, and I copy a sample there if I want to play with it/build it.

  • Anonymous
    November 27, 2006
    Thanks for your input, Mike.  I'm looking at this now for SDKs we have in the pipeline and it's good to know what users like.

  • Anonymous
    February 07, 2007
    Are you building apps for Vista yet or messing around with the great selection of new samples in the