Re: Current EXE path
- From: Dimwit Flathead <d.flathead@xxxxxxxxxxx>
- Date: Thu, 13 Jul 2006 18:13:54 -0700
Scott McPhillips [MVP] wrote:
Dimwit Flathead wrote:William GS wrote:
Hello everybody. How can I obtain the current EXE path?
Thanks in advance,
William GS
Look at GetCurrentDirectory()
-DF
GetCurrentDirectory does not provide the EXE path!
For that you must use GetModuleFileName.
My apologies! I misunderstood that he wanted the current directory for the given process! A thousand pardons! I shall burn my hand with a cigarette as recompense immediately!
.
- References:
- Re: Current EXE path
- From: Dimwit Flathead
- Re: Current EXE path
- From: Scott McPhillips [MVP]
- Re: Current EXE path
- Prev by Date: Re: Problems with CAsyncSocket::Send.
- Next by Date: Re: Current EXE path
- Previous by thread: Re: Current EXE path
- Next by thread: Re: Current EXE path
- Index(es):
Relevant Pages
|