Windows and CE app from Same Source Code

parich007parich007 Chester-le-Street

Hi,

Does anyone know if it is possible to develop a c# based app using the .NET Compact Framework, which will run on both Win CE and Windows 7 from the same source code?

Regards
Paul

Comments

  • I don't know if you got any answers to you question, but I can tell you that it is possible! ;-)
    I have been working in the logistics-area for 8 years programming complete gui-statemachine-frameworks for warehouse-management-systems running with the exact same code on both Windows CE, Windows Mobile and the PC - even using a shared ORM between all three platforms. I'm using an abstract hardware class and #ifdef-statements to surround the code specific for CE and Mobile hardware-calls. You should also get the machine-name from the device in order to know which platform you're on to dertermine the concrete hardware-class to use. Just let me know if you have more questions or need more information.
    Regards Per Pasgaard (pasgaard@gmail.com)

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion