Ever since Windows NT 3.1, the Win32 API intended to use the registry
for storing application settings. The documentation says: "These
functions are provided only for compatibility with 16-bit versions of
Windows. New applications should use the registry."
In the streamlined version of Win32 on Windows CE, the
backwards-compatible INI file API was intentionally omitted.
Use the Reg... functions (RegOpenKeyEx, RegSetValueEx,
RegQueryValueEx...) instead.
>Also missing are _findfirst, _splitpath, _makepath and io.h which
>contains the structure _finddata_t. Any ideas other than rewriting
>my own functions ?
Use the Win32 functions FindFirstFile and FindNextFile.
Marc Zimmermann
Microsoft MVP - Mobile Devices
--
MVP Information - http://support.microsoft.com/support/mvp
Pocket PC Tips, Reviews, Downloads - http://www.pocketpc.com
Pocket PC Info, Works FAQ and Software - http://www.zimac.de
Pocket PC Users Ruhr, Germany - http://www.pocketpc-users.de
You can use this source as example:
<platform builder root
dir>\PUBLIC\COMMADDON\OAK\RDP\UIT\WBTTSCMN\profile.cpp
<platform builder root dir>\PUBLIC\COMMADDON\OAK\RDP\UIT\WBTTSCMN\profile.h
it works fine, but has a minor bug in unicode transform.
Good luck.
Georgiy Pekhteryev.