Click here to Skip to main content
15,927,946 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralActivate Process on Remote Machine Pin
Bram van Kampen29-Feb-08 12:25
Bram van Kampen29-Feb-08 12:25 
GeneralRe: Activate Process on Remote Machine Pin
Gary R. Wheeler1-Mar-08 1:44
Gary R. Wheeler1-Mar-08 1:44 
GeneralRegistry Pin
Bram van Kampen29-Feb-08 12:14
Bram van Kampen29-Feb-08 12:14 
GeneralRe: Registry Pin
Gary R. Wheeler1-Mar-08 1:54
Gary R. Wheeler1-Mar-08 1:54 
GeneralRe: Registry Pin
Bram van Kampen6-Mar-08 13:44
Bram van Kampen6-Mar-08 13:44 
GeneralRe: Registry Pin
Gary R. Wheeler7-Mar-08 7:35
Gary R. Wheeler7-Mar-08 7:35 
GeneralRe: Registry Pin
Bram van Kampen7-Mar-08 15:10
Bram van Kampen7-Mar-08 15:10 
GeneralRe: Registry Pin
Gary R. Wheeler8-Mar-08 0:14
Gary R. Wheeler8-Mar-08 0:14 
Under Windows XP, I would use SHGetFolderPath() to get the path to the common applications directory, and store my settings in a file. This location would be common to all users on that machine. Under Vista, that function has been superceded by SHGetKnownFolderPath()[^].

This doesn't quite address the problem you are having. If I understand correctly, your application is stored on a server machine, but may execute on client machines. You need to access settings from a common location. My suggestion would be to store your settings in a file in a known location on the server machine, and then use a UNC path to access the file. That way, if the application is executing on a client machine, it will still load the settings file on the server. Note that, if your application updates the settings file, you will need to take care to synchronize access to the file if more than one client can be executing the application at a time.

Software Zen: delete this;
Fold With Us![^]

GeneralRe: Registry Pin
Bram van Kampen8-Mar-08 10:14
Bram van Kampen8-Mar-08 10:14 
Generalneed a good method for popping between dialogs [modified] Pin
littleGreenDude29-Feb-08 9:47
littleGreenDude29-Feb-08 9:47 
GeneralRe: need a good method for popping between dialogs Pin
led mike29-Feb-08 11:16
led mike29-Feb-08 11:16 
GeneralRe: need a good method for popping between dialogs Pin
littleGreenDude3-Mar-08 3:19
littleGreenDude3-Mar-08 3:19 
GeneralRe: need a good method for popping between dialogs Pin
littleGreenDude3-Mar-08 4:20
littleGreenDude3-Mar-08 4:20 
GeneralRe: need a good method for popping between dialogs Pin
led mike3-Mar-08 7:26
led mike3-Mar-08 7:26 
GeneralRe: need a good method for popping between dialogs Pin
littleGreenDude3-Mar-08 8:45
littleGreenDude3-Mar-08 8:45 
GeneralRe: need a good method for popping between dialogs Pin
led mike3-Mar-08 9:49
led mike3-Mar-08 9:49 
GeneralRe: need a good method for popping between dialogs Pin
littleGreenDude4-Mar-08 3:13
littleGreenDude4-Mar-08 3:13 
GeneralRe: need a good method for popping between dialogs Pin
led mike4-Mar-08 5:49
led mike4-Mar-08 5:49 
GeneralRe: need a good method for popping between dialogs Pin
littleGreenDude4-Mar-08 3:35
littleGreenDude4-Mar-08 3:35 
GeneralRe: need a good method for popping between dialogs Pin
led mike4-Mar-08 5:56
led mike4-Mar-08 5:56 
GeneralRe: need a good method for popping between dialogs Pin
littleGreenDude4-Mar-08 7:35
littleGreenDude4-Mar-08 7:35 
GeneralRe: need a good method for popping between dialogs Pin
led mike4-Mar-08 8:01
led mike4-Mar-08 8:01 
Generalchecking the current time in C++ Pin
nahitan29-Feb-08 9:02
nahitan29-Feb-08 9:02 
GeneralRe: checking the current time in C++ Pin
David Crow29-Feb-08 9:41
David Crow29-Feb-08 9:41 
GeneralRe: checking the current time in C++ Pin
nahitan29-Feb-08 10:15
nahitan29-Feb-08 10:15 

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.