Is there anything similiar to GetCurrentDirectory and SetCurrentDirectory on Pocket PC (currently running Windows Mobile 2003, second edition) I need to retrieve the working directory primarily, and secondarily be able to change it.
Thanks in advance,
Windows CE (and Windows Mobile which is based on CE) does not have a notion of “current directory” so you can not get/set it. Please use a full paths instead.
Ok, thanks! Can I at least get the application directory (i.e. the directory from which the app was started)
Or for native code use GetModuleFileName API