Click here to Skip to main content
15,905,776 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralA simple problem for help Pin
27-Nov-01 21:11
suss27-Nov-01 21:11 
GeneralRe: A simple problem for help Pin
Eugene Pustovoyt27-Nov-01 21:18
Eugene Pustovoyt27-Nov-01 21:18 
GeneralRe: A simple problem for help Pin
27-Nov-01 21:46
suss27-Nov-01 21:46 
GeneralRe: A simple problem for help Pin
Eugene Pustovoyt27-Nov-01 22:41
Eugene Pustovoyt27-Nov-01 22:41 
GeneralGetCurrentDirectory problem on Windows 98 Pin
27-Nov-01 20:56
suss27-Nov-01 20:56 
GeneralRe: GetCurrentDirectory problem on Windows 98 Pin
Nish Nishant27-Nov-01 23:03
sitebuilderNish Nishant27-Nov-01 23:03 
GeneralRe: GetCurrentDirectory problem on Windows 98 Pin
27-Nov-01 23:21
suss27-Nov-01 23:21 
GeneralRe: GetCurrentDirectory problem on Windows 98 Pin
Jon Hulatt27-Nov-01 23:25
Jon Hulatt27-Nov-01 23:25 
You're missing the point: GetCurrentDirectory() is indeed for "retrieving the current directory for the current process", and it works as such.

Imagine a console program that calls GetCurrentDirectory, and displays the output to the console. Put this program in c:\myprojects\test\test.exe

Then, from a command prompt, in c:\windows, type "c:\myprojects\test\test.exe" . The output will display c:\windows. Because the current directory is not the same as the directory that the executable resides in.

Sorry to dissapoint you all with my lack of a witty or poignant signature.
GeneralRe: GetCurrentDirectory problem on Windows 98 Pin
Nish Nishant27-Nov-01 23:33
sitebuilderNish Nishant27-Nov-01 23:33 
GeneralRe: GetCurrentDirectory problem on Windows 98 Pin
27-Nov-01 23:53
suss27-Nov-01 23:53 
GeneralToolBar Alignment Pin
27-Nov-01 20:54
suss27-Nov-01 20:54 
GeneralRe: ToolBar Alignment Pin
Nish Nishant27-Nov-01 23:00
sitebuilderNish Nishant27-Nov-01 23:00 
GeneralRe: ToolBar Alignment Pin
Christian Graus27-Nov-01 23:35
protectorChristian Graus27-Nov-01 23:35 
GeneralFile Dialog Problem Pin
San27-Nov-01 20:11
San27-Nov-01 20:11 
GeneralRe: File Dialog Problem Pin
Eugene Pustovoyt27-Nov-01 21:13
Eugene Pustovoyt27-Nov-01 21:13 
QuestionCan somebody help me? Pin
Karavaev Denis27-Nov-01 19:51
Karavaev Denis27-Nov-01 19:51 
AnswerRe: Can somebody help me? Pin
Christian Graus27-Nov-01 23:40
protectorChristian Graus27-Nov-01 23:40 
GeneralRe: Can somebody help me? Pin
Karavaev Denis28-Nov-01 0:03
Karavaev Denis28-Nov-01 0:03 
GeneralRe: Can somebody help me? Pin
Nish Nishant28-Nov-01 0:25
sitebuilderNish Nishant28-Nov-01 0:25 
GeneralRe: Can somebody help me? Pin
Christian Graus28-Nov-01 1:47
protectorChristian Graus28-Nov-01 1:47 
GeneralRe: Can somebody help me? Pin
Christian Graus28-Nov-01 0:31
protectorChristian Graus28-Nov-01 0:31 
GeneralRe: Can somebody help me? Pin
Karavaev Denis28-Nov-01 1:04
Karavaev Denis28-Nov-01 1:04 
GeneralRe: Can somebody help me? Pin
Christian Graus28-Nov-01 1:48
protectorChristian Graus28-Nov-01 1:48 
QuestionIs it safe to handle window messages in a MFC window class derived class? Pin
Nish Nishant27-Nov-01 19:10
sitebuilderNish Nishant27-Nov-01 19:10 
AnswerRe: Is it safe to handle window messages in a MFC window class derived class? Pin
Oliver Anhuth28-Nov-01 0:38
Oliver Anhuth28-Nov-01 0:38 

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.