M
mschuhmann
Hi,
I'm new to C# and CF-Programming.
I'm programming a small app for the Pocket PC as intelligent
application-project in VC2003. I want to write/read to the registry and
use code from OpenNETCF (OpenNETCF.Win32.Registry). This works fine.
But I also want my program work on the desktop and want to use
therefore the Microsoft.Win32.Registry-Classes. But how can I do this?
I tried to make 2 projects (one CF-Project and one WinApp-Project in
the same Directory like described here:
http://www.danielmoth.com/Blog/2004/09/share-code-if-fullframe_17.html),
this worked first, but after some time, VS couldn't load the forms
anymore because of some errors (I don't know why...)
Now I want to dynamically load the different Classes depending on the
Runtime-OS, but don't know how to do this.
Can anybody help or have a link to some sample code?
thx
Martin
I'm new to C# and CF-Programming.
I'm programming a small app for the Pocket PC as intelligent
application-project in VC2003. I want to write/read to the registry and
use code from OpenNETCF (OpenNETCF.Win32.Registry). This works fine.
But I also want my program work on the desktop and want to use
therefore the Microsoft.Win32.Registry-Classes. But how can I do this?
I tried to make 2 projects (one CF-Project and one WinApp-Project in
the same Directory like described here:
http://www.danielmoth.com/Blog/2004/09/share-code-if-fullframe_17.html),
this worked first, but after some time, VS couldn't load the forms
anymore because of some errors (I don't know why...)
Now I want to dynamically load the different Classes depending on the
Runtime-OS, but don't know how to do this.
Can anybody help or have a link to some sample code?
thx
Martin