Click here to Skip to main content
15,891,375 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Rotating view Pin
Nelek23-Jun-08 13:20
protectorNelek23-Jun-08 13:20 
QuestionWindows GUI in Console Application Pin
ForNow21-Jun-08 17:09
ForNow21-Jun-08 17:09 
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 
Vista introduced the "ProgramData" folder for this. Typically, it's C:\ProgramData\[Company]\... You should be using the SHGetFolderPath()[^] function on earlier versions of Windows and SHGetKnownFolderPath()[^] on Windows Vista.

The SHGetKnownFolderPath takes a reference to a KNOWNFOLDERID[^] value, which is FOLDERID_ProgramData. For SHGetFolderPath, you need to use a CSIDL[^] value of CSIDL_COMMON_APPDATA.

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: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 
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 

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.