For Programmers: Free Programming Magazines  


Home > Archive > Smartphone Developer Forum > April 2006 > how to get current directory in evc4









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author how to get current directory in evc4
Liu Jun

2006-04-07, 4:07 am

There is not GetCurrentDirectory API in sp SDK.


Scott Lacy Salley

2006-04-07, 4:07 am

In article <eA2qqXfWGHA.3492@TK2MSFTNGP05.phx.gbl>, Liu Jun wrote:
> There is not GetCurrentDirectory API in sp SDK.


I don't think there is a 'current directory' concept in WinCE.

--
Scott Lacy Salley <scottlacysalley@comcast.net>
formerly Scott Lacy Smith
Yaroslav Goncharov

2006-04-07, 4:07 am

There is no such thing as a current directory in Windows CE. All paths are
absolute.

--
Yaroslav Goncharov
Spb Software House, http://spbsoftwarehouse.com
Pocket PC Developer Network, http://pocketpcdn.com


"Liu Jun" <vivo2000@sohu.com> wrote in message
news:eA2qqXfWGHA.3492@TK2MSFTNGP05.phx.gbl...
> There is not GetCurrentDirectory API in sp SDK.
>



Leo

2006-04-07, 8:04 am

I think what you need is to EXE running path?

if this, you can call GetModuleName(....), which could get the full path.


"Liu Jun" <vivo2000@sohu.com> 写入消息新闻:eA2qqXfWGHA.3492@TK2MSFTNGP05.phx.gbl...
> There is not GetCurrentDirectory API in sp SDK.
>



Liu Jun

2006-04-11, 10:03 pm

yes, I will use GetModuleFileName instead.

"Leo" <lma@telenav.cn> 写入消息新闻:ezPLd2iWGHA.4960@TK2MSFTNGP05.phx.gbl...
>I think what you need is to EXE running path?
>
> if this, you can call GetModuleName(....), which could get the full path.



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com