Click here to Skip to main content
15,918,808 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how to resolve this problem fatal error LNK1104: cannot open file 'libboost_filesystem-vc80-mt-gd-1_35.lib' Pin
Saurabh.Garg22-Jun-08 5:38
Saurabh.Garg22-Jun-08 5:38 
GeneralRe: how to resolve this problem fatal error LNK1104: cannot open file 'libboost_filesystem-vc80-mt-gd-1_35.lib' Pin
Pak_Coder22-Jun-08 5:41
Pak_Coder22-Jun-08 5:41 
GeneralRe: how to resolve this problem fatal error LNK1104: cannot open file 'libboost_filesystem-vc80-mt-gd-1_35.lib' Pin
zafersavas22-Jun-08 6:03
zafersavas22-Jun-08 6:03 
GeneralRe: how to resolve this problem fatal error LNK1104: cannot open file 'libboost_filesystem-vc80-mt-gd-1_35.lib' Pin
Pak_Coder22-Jun-08 6:07
Pak_Coder22-Jun-08 6:07 
GeneralRe: how to resolve this problem fatal error LNK1104: cannot open file 'libboost_filesystem-vc80-mt-gd-1_35.lib' Pin
Saurabh.Garg22-Jun-08 14:25
Saurabh.Garg22-Jun-08 14:25 
QuestionHelp is restoring MS exchange 2003 programmatically? Pin
nasif400322-Jun-08 4:38
nasif400322-Jun-08 4:38 
QuestionWhy the Template Classe can't build in two file (.cpp and .h) Pin
liuxianming200122-Jun-08 2:27
liuxianming200122-Jun-08 2:27 
AnswerRe: Why the Template Classe can't build in two file (.cpp and .h) Pin
Saurabh.Garg22-Jun-08 2:40
Saurabh.Garg22-Jun-08 2:40 
GeneralRe: Why the Template Classe can't build in two file (.cpp and .h) Pin
liuxianming200122-Jun-08 3:50
liuxianming200122-Jun-08 3:50 
GeneralRe: Why the Template Classe can't build in two file (.cpp and .h) Pin
Saurabh.Garg22-Jun-08 3:54
Saurabh.Garg22-Jun-08 3:54 
AnswerRe: Why the Template Classe can't build in two file (.cpp and .h) Pin
Nibu babu thomas22-Jun-08 17:27
Nibu babu thomas22-Jun-08 17:27 
GeneralRe: Why the Template Classe can't build in two file (.cpp and .h) Pin
liuxianming200122-Jun-08 19:03
liuxianming200122-Jun-08 19:03 
GeneralRe: Why the Template Classe can't build in two file (.cpp and .h) Pin
Nibu babu thomas22-Jun-08 19:06
Nibu babu thomas22-Jun-08 19:06 
QuestionService Pin
New522-Jun-08 0:51
New522-Jun-08 0:51 
AnswerRe: Service Pin
led mike22-Jun-08 14:51
led mike22-Jun-08 14:51 
QuestionDirectSound : stop play when switching between windows in the same application Pin
Hanan88822-Jun-08 0:33
Hanan88822-Jun-08 0:33 
QuestionRotating view Pin
Identity Undisclosed21-Jun-08 17:38
Identity Undisclosed21-Jun-08 17:38 
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 
First I have to apologize since this question doesn't really an MFC specific.

I have an old MFC application that store it's configuration info in it's own folder,
since I want configuration info of the app to be the same for all user on the computer
(the configuration file is use for storing the path to current database file that user create/choose).

but in windows VISTA this method doesn't work any more due to data virtualization.


The question is where should I put this file ,
so that it can be access by application running from different user with out
suffer from virtualization effect ?


The method I am come up now is

1.every time user ran an application I check for c:\somefolder\config.xml
if the folder or file doesn't exist(like running application for the first time
or someone accidently delate it),I create them on the fly.

2.since this folder wont be affect by data virtualization ,
the config file can be use by any other user on this computer.

but instead of making my folder in an obivious place like c:\somefolder, Are there
any default location on every windows (2000/xp/vista) that I can create my global
config file (like c:\windows_default_globalinfo\MyAppData\config.xml or some thig like that)?
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 

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.