Click here to Skip to main content
15,917,793 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Worker thread [modified] Pin
SandipG 25-May-08 19:51
SandipG 25-May-08 19:51 
AnswerRe: Worker thread Pin
ThatsAlok25-May-08 22:52
ThatsAlok25-May-08 22:52 
Questionmaking file path generic Pin
pl_kode25-May-08 18:29
pl_kode25-May-08 18:29 
AnswerRe: making file path generic Pin
Jijo.Raj25-May-08 18:47
Jijo.Raj25-May-08 18:47 
GeneralRe: making file path generic Pin
pl_kode25-May-08 19:05
pl_kode25-May-08 19:05 
GeneralRe: making file path generic Pin
Manu.Dev25-May-08 19:49
Manu.Dev25-May-08 19:49 
GeneralRe: making file path generic Pin
pl_kode25-May-08 20:11
pl_kode25-May-08 20:11 
GeneralRe: making file path generic Pin
Jijo.Raj25-May-08 21:36
Jijo.Raj25-May-08 21:36 
Since its a settig file i thought it won't be modified by your application. Thats why suggested to use env var because its easy to use. Other than getenv() you can also use GetEnvironmentVariable() function.

But if you want to update the filepath from your application, then registry will be the better choice as Manu.Dev suggested. You can use CRegKey for registry operations which will make your life easier. See here how to use it - http://forums.devarticles.com/c-c-help-52/reading-the-registry-9764.html[^]

Or else you can use Platform SDK registry functions - http://msdn.microsoft.com/en-us/library/ms724875(VS.85).aspx[^]

Regards,
Jijo.

_____________________________________________________

http://weseetips.com[^] Visual C++ tips and tricks. Updated daily.

AnswerRe: making file path generic Pin
ThatsAlok25-May-08 18:56
ThatsAlok25-May-08 18:56 
QuestionWin32 Resources - Data size Pin
Heinz_25-May-08 15:46
Heinz_25-May-08 15:46 
AnswerRe: Win32 Resources - Data size Pin
Ernest Laurentin25-May-08 16:09
Ernest Laurentin25-May-08 16:09 
AnswerRe: Win32 Resources - Data size Pin
ThatsAlok25-May-08 19:01
ThatsAlok25-May-08 19:01 
QuestionHelp with multiple client views with scrolling [modified] Pin
Kwanalouie25-May-08 12:31
Kwanalouie25-May-08 12:31 
QuestionC++ Daimond Problem Pin
Zeeshan Riaz25-May-08 10:53
Zeeshan Riaz25-May-08 10:53 
AnswerRe: C++ Daimond Problem Pin
Nelek25-May-08 11:11
protectorNelek25-May-08 11:11 
AnswerRe: C++ Daimond Problem Pin
Rinu_Raj25-May-08 15:57
Rinu_Raj25-May-08 15:57 
AnswerRe: C++ Daimond Problem Pin
Jijo.Raj25-May-08 18:40
Jijo.Raj25-May-08 18:40 
AnswerRe: C++ Daimond Problem Pin
SandipG 25-May-08 19:54
SandipG 25-May-08 19:54 
AnswerRe: C++ Daimond Problem Pin
ThatsAlok25-May-08 22:50
ThatsAlok25-May-08 22:50 
Questionmoving from on dialog box to the other Pin
lahom25-May-08 9:40
lahom25-May-08 9:40 
AnswerRe: moving from on dialog box to the other Pin
Nelek25-May-08 11:07
protectorNelek25-May-08 11:07 
GeneralRe: moving from on dialog box to the other Pin
lahom25-May-08 11:27
lahom25-May-08 11:27 
GeneralRe: moving from on dialog box to the other Pin
Nelek25-May-08 11:40
protectorNelek25-May-08 11:40 
GeneralRe: moving from on dialog box to the other Pin
lahom25-May-08 11:52
lahom25-May-08 11:52 
GeneralRe: moving from on dialog box to the other Pin
Nelek25-May-08 12:28
protectorNelek25-May-08 12:28 

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.