Registry access on Windows CE Gotive

  • Thread starter Thread starter Kath
  • Start date Start date
K

Kath

Hi,

We have an application using VB.NET for the Pocket PC (with an xda II)
that uses OpenNetCF for various tasks: accessing the registry,
monitoring the battery level, controlling BT, and creating GPRS
connections. The app works fine. However, we are now looking at using
a Gotive device instead of the XDA, and the Gotive uses Windows CE
4.2. When we try to run the app on the Gotive, the OpennetCF dlls can
not be used, we get a typeloadexception error:

TypeLoadException
Could not load type
OpenNETCF.Win32.Registry etc

It is essential that we have access to the registry and the GPRS
connections. I have read other posts
(http://www.opennetcf.org/forums/topic.asp?TOPIC_ID=3567&SearchTerms=windows,ce)
that say the connection manager APIs cannot be used with windows CE.
Which is not good!! Is this also true with the registry? How can we
access the registry from this device?

Any help would be greatly appreciated!

Thanks,
Kath
 
The registry implementation should be identical. A TypeLoadException
indicates the dll is missing or you are referencing a different version from
that available. If you can copy the OpenNETCF.dll manually to your
application folder on the device this should resolve the issue.
With regards Connection Manager yes this is Windows Mobile specific so you
won't be able to use this.

Peter
 
Back
Top