Click here to Skip to main content
15,889,216 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRegistry and VISTA Pin
Bram van Kampen28-Feb-08 13:57
Bram van Kampen28-Feb-08 13:57 
GeneralRe: Registry and VISTA Pin
Maxwell Chen28-Feb-08 22:07
Maxwell Chen28-Feb-08 22:07 
GeneralRe: Registry and VISTA Pin
Bram van Kampen12-Mar-08 15:04
Bram van Kampen12-Mar-08 15:04 
AnswerRe: Registry and VISTA Pin
Maxwell Chen12-Mar-08 18:06
Maxwell Chen12-Mar-08 18:06 
GeneralRe: Registry and VISTA Pin
Bram van Kampen13-Mar-08 11:29
Bram van Kampen13-Mar-08 11:29 
GeneralRe: Registry and VISTA Pin
Maxwell Chen13-Mar-08 18:56
Maxwell Chen13-Mar-08 18:56 
GeneralRe: Registry and VISTA Pin
Bram van Kampen12-Mar-08 15:37
Bram van Kampen12-Mar-08 15:37 
GeneralRe: Registry and VISTA Pin
Mark Salsbery29-Feb-08 7:49
Mark Salsbery29-Feb-08 7:49 
You shouldn't use HKLM unless your app can run elevated all the time (as mentioned by Mr Chen).

The proper place to put common app data is in the common app data folder provided by the OS,
as described in the Designed for Windows XP Application Specification[^] Section 1, chapter 3.0.

Note the actual folder pathnames have changed in Vista, but the way you get the folder pathnames
programmatically is the same as described in the document.

Windows versions through XP let us get away with using the HKLM key in the registry....no more in Vista.

Mark






Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

GeneralRe: Registry and VISTA Pin
Bram van Kampen29-Feb-08 14:25
Bram van Kampen29-Feb-08 14:25 
GeneralRe: Registry and VISTA Pin
Bram van Kampen12-Mar-08 15:35
Bram van Kampen12-Mar-08 15:35 
GeneralRe: Registry and VISTA Solved Pin
Bram van Kampen13-Mar-08 11:34
Bram van Kampen13-Mar-08 11:34 
GeneralRe: Registry and VISTA Solved Pin
Mark Salsbery13-Mar-08 11:42
Mark Salsbery13-Mar-08 11:42 
Generalspecifying object type at compile time Pin
act_x28-Feb-08 12:50
act_x28-Feb-08 12:50 
GeneralRe: specifying object type at compile time Pin
Chris Losinger28-Feb-08 15:54
professionalChris Losinger28-Feb-08 15:54 
GeneralDialog Box Refresh Pin
RomTibi28-Feb-08 5:50
RomTibi28-Feb-08 5:50 
GeneralRe: Dialog Box Refresh Pin
led mike28-Feb-08 5:58
led mike28-Feb-08 5:58 
GeneralRe: Dialog Box Refresh Pin
RomTibi29-Feb-08 6:20
RomTibi29-Feb-08 6:20 
GeneralRe: Dialog Box Refresh Pin
led mike29-Feb-08 6:32
led mike29-Feb-08 6:32 
GeneralRe: Dialog Box Refresh Pin
RomTibi29-Feb-08 7:35
RomTibi29-Feb-08 7:35 
GeneralRe: Dialog Box Refresh Pin
RomTibi1-Mar-08 22:23
RomTibi1-Mar-08 22:23 
GeneralRe: Dialog Box Refresh Pin
led mike2-Mar-08 14:54
led mike2-Mar-08 14:54 
GeneralRe: Dialog Box Refresh Pin
RomTibi4-Mar-08 5:04
RomTibi4-Mar-08 5:04 
GeneralRe: Dialog Box Refresh Pin
Michael Schubert28-Feb-08 7:03
Michael Schubert28-Feb-08 7:03 
GeneralRe: Dialog Box Refresh Pin
RomTibi29-Feb-08 6:22
RomTibi29-Feb-08 6:22 
GeneralRe: Dialog Box Refresh Pin
Bram van Kampen28-Feb-08 12:57
Bram van Kampen28-Feb-08 12:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.