Click here to Skip to main content
15,911,360 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Windows GUI in Console Application Pin
led mike22-Jun-08 15:17
led mike22-Jun-08 15:17 
GeneralRe: Windows GUI in Console Application Pin
ForNow22-Jun-08 15:35
ForNow22-Jun-08 15:35 
GeneralRe: Windows GUI in Console Application Pin
led mike23-Jun-08 5:48
led mike23-Jun-08 5:48 
GeneralRe: Windows GUI in Console Application Pin
ForNow23-Jun-08 12:57
ForNow23-Jun-08 12:57 
QuestionWhere should I store application's shared config file that are the same for all user of windows in VISTA Pin
xanagan66621-Jun-08 17:05
xanagan66621-Jun-08 17:05 
AnswerRe: Where should I store application's shared config file that are the same for all user of windows in VISTA Pin
Scott Dorman22-Jun-08 1:36
professionalScott Dorman22-Jun-08 1:36 
GeneralRe: Where should I store application's shared config file that are the same for all user of windows in VISTA Pin
xanagan66622-Jun-08 2:04
xanagan66622-Jun-08 2:04 
GeneralRe: Where should I store application's shared config file that are the same for all user of windows in VISTA Pin
Scott Dorman22-Jun-08 2:32
professionalScott Dorman22-Jun-08 2:32 
xanagan666 wrote:
So in order to do this I have to detect which version of windows user is running on right(to be able to calling appropriate function)?


That's the proper way to do it. On Windows Vista, SHGetFolderPath is a wrapper for SHGetKnownFolderPath, so you could just call the one function and it will behave properly.

xanagan666 wrote:
Can you suggest me the effective way to do this ?


See this article: Getting the System Version (Windows)[^].

xanagan666 wrote:
And another question ,is this ProgramData not affect by data virtualization right?


If by virtualization, you mean the automatic virtualization between 32-bit and 64-bit or the UAC virtualization, I believe that is correct. This folder is not virtualized.

Scott Dorman
Microsoft® MVP - Visual C# | MCPD
President - Tampa Bay IASA

Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai
[Forum Guidelines][Articles][Blog]

GeneralRe: Where should I store application's shared config file that are the same for all user of windows in VISTA Pin
xanagan66622-Jun-08 2:45
xanagan66622-Jun-08 2:45 
GeneralRe: Where should I store application's shared config file that are the same for all user of windows in VISTA Pin
Scott Dorman22-Jun-08 3:00
professionalScott Dorman22-Jun-08 3:00 
GeneralRe: Where should I store application's shared config file that are the same for all user of windows in VISTA Pin
xanagan66622-Jun-08 3:18
xanagan66622-Jun-08 3:18 
GeneralRe: Where should I store application's shared config file that are the same for all user of windows in VISTA Pin
Scott Dorman22-Jun-08 3:22
professionalScott Dorman22-Jun-08 3:22 
AnswerRe: Where should I store application's shared config file that are the same for all user of windows in VISTA Pin
krmed22-Jun-08 3:35
krmed22-Jun-08 3:35 
GeneralRe: Where should I store application's shared config file that are the same for all user of windows in VISTA Pin
bob1697222-Jun-08 4:23
bob1697222-Jun-08 4:23 
GeneralRe: Where should I store application's shared config file that are the same for all user of windows in VISTA Pin
krmed23-Jun-08 1:54
krmed23-Jun-08 1:54 
GeneralRe: Where should I store application's shared config file that are the same for all user of windows in VISTA Pin
bob1697223-Jun-08 8:08
bob1697223-Jun-08 8:08 
QuestionMFC update: how to disable loading pane docking state from registry Pin
roel_21-Jun-08 6:28
roel_21-Jun-08 6:28 
AnswerRe: MFC update: how to disable loading pane docking state from registry Pin
bolivar12321-Jun-08 12:01
bolivar12321-Jun-08 12:01 
GeneralRe: MFC update: how to disable loading pane docking state from registry Pin
roel_22-Jun-08 2:02
roel_22-Jun-08 2:02 
QuestionWhat's the difference between function atof() and _tstof()? Pin
liuxianming200121-Jun-08 6:08
liuxianming200121-Jun-08 6:08 
AnswerRe: What's the difference between function atof() and _tstof()? Pin
Ștefan-Mihai MOGA21-Jun-08 6:20
professionalȘtefan-Mihai MOGA21-Jun-08 6:20 
AnswerRe: What's the difference between function atof() and _tstof()? Pin
Dan21-Jun-08 8:08
Dan21-Jun-08 8:08 
QuestionConvert CString to double Pin
bkelly1321-Jun-08 4:27
bkelly1321-Jun-08 4:27 
AnswerRe: Convert CString to double Pin
bkelly1321-Jun-08 4:30
bkelly1321-Jun-08 4:30 
GeneralRe: Convert CString to double Pin
Ștefan-Mihai MOGA21-Jun-08 4:33
professionalȘtefan-Mihai MOGA21-Jun-08 4:33 

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.