Hi, how can i get the current path of my installed application on the ppc
(WM5) ?
GetCurrentDirectory did not work

RE: Get Path of installed Program by amitranjan

amitranjan
Mon Feb 26 05:44:00 CST 2007

Hi,

Check out GetModuleFileName() in sdk documentation.

--
Thanks and Regards
Amit Ranjan
blog:http://amitranjan.wordpress.com


"Andreas Kammann" wrote:

> Hi, how can i get the current path of my installed application on the ppc
> (WM5) ?
> GetCurrentDirectory did not work
>
>
>
>
>
>
>

Re: Get Path of installed Program by r_z_aret

r_z_aret
Tue Feb 27 11:52:13 CST 2007

On Mon, 26 Feb 2007 12:29:22 +0100, "Andreas Kammann"
<an.kammann@googlemail.com> wrote:

>Hi, how can i get the current path of my installed application on the ppc
>(WM5) ?
>GetCurrentDirectory did not work

Amit answered your actual question. This is an addendum.

Windows CE, and all platforms based on it, has no real concept of
"current directory". That means we really need to use full paths at
all times. I'm surprised the GetCurrentDirectory function even exists.


>
>
>
>
>

-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message).

Robert E. Zaret, eMVP
PenFact, Inc.
20 Park Plaza, Suite 478
Boston, MA 02116
www.penfact.com