How to operate registry of WinCE
-
Hi, guys.I am developing an application running in PocketPC. My question is how I can operate the registry of Windows CE. Are there some classes which can be used directly? Or I have to use unmaged code to invoke some API to do that? Could you please to recommend some resources to introduce relevant contents? Thanks a lot vigorous
-
Hi, guys.I am developing an application running in PocketPC. My question is how I can operate the registry of Windows CE. Are there some classes which can be used directly? Or I have to use unmaged code to invoke some API to do that? Could you please to recommend some resources to introduce relevant contents? Thanks a lot vigorous
This question really belongs in the embedded/mobile section however it is easy enough to just answer it here. The .NET Compact Framework does not come with a supported Registry class as is available under the .NET Framework. This said, you will need to P/Invoke
RegOpenKeyEx
,RegQueryValue
, andExRegCloseKey
to have access to the registry. - Nick Parker
My Blog | My Articles