hello
I'm writing a program. this program needs to create a few files & use them.

where should it create the fils?

the program should not create the files in the same folder as itself. because it will be in C:\Program Files where Windows Seven won't allow to create files without admin priv.

where is a standard place? And how can the program find the address?

If the directory structure is the same in 7 as it is in Vista, probably in the c:\Users\<Username>\AppData folder. (But see http://www.vistaheads.com/forums/microsoft-public-windows-vista-general/230161-whats-difference-between-appdata-local-appdata-roaming.html#post814489 about whether it should be in the roaming or local subdir). I'm not sure of the way to get this information programmatically, though.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.