Problem

if
  • - OpenNETCF SDF 1.2 has been installed from CAB
  • - An application using SDF has been run at least once
  • - The registry database has been flushed to storage card
  • - Windows CE has been cold bootet using the registry database from storage card
  • - OpenNETCF SDF 1.2 has been reinstalled from CAB
then
  • - Applications referring to SDF assemblies cannot start
because
  • - There where some entries in the registry database referring to SDF assemblies in the GAC which does not exist anymore
  • - Reinstalling SDF did not restore the original state

Solution

Before reinstalling SDF all registry entries has to be removed. This can be done by
  • - Running the program UnregisterSDF12. A project for Microsoft's eMbedded Visual C++ 4.0 producing this program can be downloaded from here.
  • - Running the function UnregisterSDF12 in your own starter application. The source code of this function (and 2 helper functions) can be viewed here.

Hit Counter