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

C / C++ / MFC

 
GeneralRestoring Windows Pin
shultas15-Apr-04 13:08
shultas15-Apr-04 13:08 
GeneralRe: Restoring Windows Pin
gUrM33T15-Apr-04 15:58
gUrM33T15-Apr-04 15:58 
GeneralNew Thread Pin
jss67200115-Apr-04 12:57
jss67200115-Apr-04 12:57 
GeneralNeed Help fast 1 day late Pin
jss67200115-Apr-04 12:10
jss67200115-Apr-04 12:10 
GeneralRe: Need Help fast 1 day late Pin
PJ Arends15-Apr-04 12:18
professionalPJ Arends15-Apr-04 12:18 
GeneralRe: Need Help fast 1 day late Pin
jss67200115-Apr-04 12:27
jss67200115-Apr-04 12:27 
GeneralRe: Need Help fast 1 day late Pin
PJ Arends15-Apr-04 12:29
professionalPJ Arends15-Apr-04 12:29 
Generalexcutable file location Pin
Anonymous15-Apr-04 11:53
Anonymous15-Apr-04 11:53 
Hi,
How can I know from where an executable file is loaded?
After compilation, the executable fill will be saved in somewhere,
how can I know it's location when the file is executed.

For example, if the file is C:\myfile\test.exe, I want to print out C:\myfile when test.exe is run, if the file is moved to C:\another-folder\test.exe, I want to print out c:\another-folder when it is executed.

Thanks a lot!

George
GeneralRe: excutable file location Pin
PJ Arends15-Apr-04 12:22
professionalPJ Arends15-Apr-04 12:22 
GeneralRe: excutable file location Pin
Michael Dunn15-Apr-04 15:30
sitebuilderMichael Dunn15-Apr-04 15:30 
GeneralRe: excutable file location Pin
Anonymous16-Apr-04 2:54
Anonymous16-Apr-04 2:54 
GeneralDebug MFC Pin
Member 61706715-Apr-04 11:21
Member 61706715-Apr-04 11:21 
QuestionCSplitterWnd - bug??? Pin
_-:: PhOeNiX ::-_15-Apr-04 10:34
_-:: PhOeNiX ::-_15-Apr-04 10:34 
GeneralNeed Urgent C++ help Pin
Anonymous15-Apr-04 10:34
Anonymous15-Apr-04 10:34 
GeneralRe: Need Urgent C++ help Pin
Christian Graus15-Apr-04 11:01
protectorChristian Graus15-Apr-04 11:01 
GeneralRemotely Connecting to SQL Server! Pin
abc87615-Apr-04 9:52
abc87615-Apr-04 9:52 
GeneralVB client for a C++ api Pin
Jim Crafton15-Apr-04 9:48
Jim Crafton15-Apr-04 9:48 
GeneralRe: VB client for a C++ api Pin
Gary R. Wheeler15-Apr-04 11:58
Gary R. Wheeler15-Apr-04 11:58 
GeneralWinApp::OnIdle Pin
_-:: PhOeNiX ::-_15-Apr-04 9:44
_-:: PhOeNiX ::-_15-Apr-04 9:44 
GeneralRe: WinApp::OnIdle Pin
PJ Arends15-Apr-04 11:53
professionalPJ Arends15-Apr-04 11:53 
GeneralSTACKS AND QUES Pin
PDALE15-Apr-04 8:04
PDALE15-Apr-04 8:04 
GeneralRe: STACKS AND QUES Pin
toxcct15-Apr-04 8:16
toxcct15-Apr-04 8:16 
GeneralRe: STACKS AND QUES Pin
Jim Crafton15-Apr-04 10:15
Jim Crafton15-Apr-04 10:15 
GeneralRe: STACKS AND QUES Pin
Jim Crafton15-Apr-04 10:17
Jim Crafton15-Apr-04 10:17 
GeneralMaskededit control Pin
C++NewBe15-Apr-04 7:49
C++NewBe15-Apr-04 7:49 

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.