Click here to Skip to main content
15,913,055 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Dynamic menus and messages? Pin
Antony M Kancidrowski15-Nov-04 6:43
Antony M Kancidrowski15-Nov-04 6:43 
GeneralWaiting On Mutes's Pin
sweep12315-Nov-04 4:30
sweep12315-Nov-04 4:30 
GeneralRe: Waiting On Mutes's Pin
Antony M Kancidrowski15-Nov-04 6:12
Antony M Kancidrowski15-Nov-04 6:12 
QuestionHow to get full path of exe file? Pin
pubududilena15-Nov-04 2:00
pubududilena15-Nov-04 2:00 
AnswerRe: How to get full path of exe file? Pin
dabs15-Nov-04 2:09
dabs15-Nov-04 2:09 
GeneralRe: How to get full path of exe file? Pin
pubududilena15-Nov-04 6:15
pubududilena15-Nov-04 6:15 
GeneralRe: How to get full path of exe file? Pin
Maximilien15-Nov-04 6:24
Maximilien15-Nov-04 6:24 
GeneralRe: How to get full path of exe file? Pin
dabs15-Nov-04 6:28
dabs15-Nov-04 6:28 
Sorry, I misunderstood you. If you have a name of an arbitrary .exe file and you have no idea where it is located, then the only way is (AFAIK) to scan the disk. You could use the MFC class CFileFind to find a file with a given name - you would have to supply in what folder to look, and you would have to recursively walk through all folders. Not a trivial task I believe...

If however the .exe in question is the .exe you are writing then you can use the code I showed you.

What exactly is your requirement, i.e. under what circumstances do you need to do this?



Wenn ist das Nunstück git und Slotermeyer? Ja! Beierhund das oder die Flipperwaldt gersput!
GeneralRe: How to get full path of exe file? Pin
pubududilena15-Nov-04 6:49
pubududilena15-Nov-04 6:49 
GeneralRe: How to get full path of exe file? Pin
Maximilien15-Nov-04 7:31
Maximilien15-Nov-04 7:31 
GeneralScroll bar Pin
shijuck15-Nov-04 2:00
shijuck15-Nov-04 2:00 
GeneralScrool Bar Painting issue Pin
anuragvelekkattu15-Nov-04 1:53
anuragvelekkattu15-Nov-04 1:53 
GeneralON_UPDATE_COMMAND_UI impossible to change the state of items Pin
madretierra15-Nov-04 1:06
madretierra15-Nov-04 1:06 
GeneralRe: ON_UPDATE_COMMAND_UI impossible to change the state of items Pin
Archigal15-Nov-04 3:05
Archigal15-Nov-04 3:05 
GeneralRe: ON_UPDATE_COMMAND_UI impossible to change the state of items Pin
madretierra15-Nov-04 3:17
madretierra15-Nov-04 3:17 
GeneralImage Colour Management Pin
apollo-house15-Nov-04 0:48
apollo-house15-Nov-04 0:48 
GeneralEnumDisplaySettings gives wrong values Pin
Ray Adams14-Nov-04 23:48
Ray Adams14-Nov-04 23:48 
GeneralRe: EnumDisplaySettings gives wrong values Pin
Antony M Kancidrowski15-Nov-04 0:33
Antony M Kancidrowski15-Nov-04 0:33 
GeneralRe: EnumDisplaySettings gives wrong values Pin
Ray Adams15-Nov-04 0:46
Ray Adams15-Nov-04 0:46 
GeneralRe: EnumDisplaySettings gives wrong values Pin
Antony M Kancidrowski15-Nov-04 3:02
Antony M Kancidrowski15-Nov-04 3:02 
GeneralRe: EnumDisplaySettings gives wrong values Pin
Ray Adams15-Nov-04 18:03
Ray Adams15-Nov-04 18:03 
GeneralSchewchuk (revised) Pin
Keck14-Nov-04 23:47
Keck14-Nov-04 23:47 
GeneralSharing Database Connection Pin
shiraztk14-Nov-04 23:20
shiraztk14-Nov-04 23:20 
GeneralHelp! need some tutorials on dialogs in an NONE dialog based application Pin
Ibana14-Nov-04 23:01
Ibana14-Nov-04 23:01 
GeneralRe: Help! need some tutorials on dialogs in an NONE dialog based application Pin
shiraztk15-Nov-04 0:02
shiraztk15-Nov-04 0:02 

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.