Click here to Skip to main content
15,901,853 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how to get application path Pin
Naveen30-Jan-07 20:48
Naveen30-Jan-07 20:48 
GeneralRe: how to get application path Pin
Naveen30-Jan-07 20:50
Naveen30-Jan-07 20:50 
GeneralRe: how to get application path Pin
vibindia30-Jan-07 22:00
vibindia30-Jan-07 22:00 
GeneralRe: how to get application path Pin
Naveen30-Jan-07 22:08
Naveen30-Jan-07 22:08 
GeneralRe: how to get application path Pin
toxcct30-Jan-07 22:23
toxcct30-Jan-07 22:23 
GeneralRe: how to get application path Pin
Naveen30-Jan-07 22:33
Naveen30-Jan-07 22:33 
GeneralRe: how to get application path Pin
toxcct30-Jan-07 22:35
toxcct30-Jan-07 22:35 
AnswerRe: how to get application path Pin
Michael Dunn30-Jan-07 22:11
sitebuilderMichael Dunn30-Jan-07 22:11 
Use GetModuleFileName() to get the path to the EXE. As for the path to the shortcut that launched the EXE, AFAIK that info isn't available to the process. Explorer reads the shortcut and calls CreateProcess(), but once the process is running, the shortcut is no longer relevant.


--Mike--
Visual C++ MVP Cool | :cool:
LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ

Ford, what's this fish doing in my ear?

GeneralRe: how to get application path Pin
Naveen30-Jan-07 22:26
Naveen30-Jan-07 22:26 
QuestionFinding verion info of a dll .. How ? Pin
Sakthiu30-Jan-07 20:06
Sakthiu30-Jan-07 20:06 
AnswerRe: Finding verion info of a dll .. How ? Pin
Mark Salsbery30-Jan-07 20:11
Mark Salsbery30-Jan-07 20:11 
GeneralRe: Finding verion info of a dll .. How ? Pin
Sakthiu30-Jan-07 23:19
Sakthiu30-Jan-07 23:19 
GeneralRe: Finding verion info of a dll .. How ? Pin
Hamid_RT31-Jan-07 1:45
Hamid_RT31-Jan-07 1:45 
GeneralRe: Finding verion info of a dll .. How ? Pin
Mark Salsbery31-Jan-07 6:41
Mark Salsbery31-Jan-07 6:41 
AnswerRe: Finding verion info of a dll .. How ? Pin
benjymous30-Jan-07 21:45
benjymous30-Jan-07 21:45 
QuestionSHBrowseForFolderA Title Width Pin
arunperi30-Jan-07 20:03
arunperi30-Jan-07 20:03 
QuestionRe: SHBrowseForFolderA Title Width Pin
prasad_som30-Jan-07 21:45
prasad_som30-Jan-07 21:45 
AnswerRe: SHBrowseForFolderA Title Width Pin
Hamid_RT31-Jan-07 1:42
Hamid_RT31-Jan-07 1:42 
QuestionWorking with win 32 timers. Pin
Suresh H30-Jan-07 19:42
Suresh H30-Jan-07 19:42 
AnswerRe: Working with win 32 timers. Pin
prasad_som30-Jan-07 19:54
prasad_som30-Jan-07 19:54 
GeneralRe: Working with win 32 timers. Pin
Suresh H30-Jan-07 20:26
Suresh H30-Jan-07 20:26 
AnswerRe: Working with win 32 timers. Pin
prasad_som30-Jan-07 20:33
prasad_som30-Jan-07 20:33 
GeneralRe: Working with win 32 timers. Pin
Suresh H30-Jan-07 21:30
Suresh H30-Jan-07 21:30 
AnswerRe: Working with win 32 timers. Pin
prasad_som30-Jan-07 21:40
prasad_som30-Jan-07 21:40 
GeneralRe: Working with win 32 timers. Pin
Suresh H30-Jan-07 22:13
Suresh H30-Jan-07 22:13 

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.