How can I find the path that the application is running in? For example, if the program is in \My Documents\app.exe I want to get either \My Documents or \My Documents\. Help?
PocketFrog already has a function to do just that: PocketPC::GetFullPathName();
I think this is what you are after. Note that finding the path is a standard windows CE function wrapped up in this function. See the source